Fix template picker not displayed anymore in framework

pull/1/head
yflory 7 years ago
parent c77e4adf1e
commit 4c49cd7592

@ -302,7 +302,7 @@ define([
var skipTemp = Util.find(privateDat, ['settings', 'general', 'creation', 'noTemplate']); var skipTemp = Util.find(privateDat, ['settings', 'general', 'creation', 'noTemplate']);
var skipCreation = Util.find(privateDat, ['settings', 'general', 'creation', 'skip']); var skipCreation = Util.find(privateDat, ['settings', 'general', 'creation', 'skip']);
if (newPad && (!skipTemp && skipCreation)) { if (newPad && (!AppConfig.displayCreationScreen || (!skipTemp && skipCreation))) {
common.openTemplatePicker(); common.openTemplatePicker();
} }
}; };

Loading…
Cancel
Save