Fixes #2272 and other problems with the templates
Removes the non-intuitive saving of the default template in MainWindow::createNewProject. Other fixed problems: * User entries were not shown in the menu of the tool button that creates new projects from templates. Now they are shown as well. Other changes: * Adds a new option "New from template" in the file menu. It shows the same menu as the tool button.
This commit is contained in:
@@ -120,6 +120,11 @@ public:
|
||||
return dataDir() + PROJECTS_PATH;
|
||||
}
|
||||
|
||||
QString factoryTemplatesDir() const
|
||||
{
|
||||
return factoryProjectsDir() + TEMPLATE_PATH;
|
||||
}
|
||||
|
||||
QString factoryPresetsDir() const
|
||||
{
|
||||
return dataDir() + PRESETS_PATH;
|
||||
|
||||
Reference in New Issue
Block a user