Instead of copying current profile, start from a blank one (#4714)

* Instead of copying current profile, start from a blank one

* Handle both add profile (which add a new (ie blank) one) and copy current profile which behaves like before (but says it)

* Avoid duplicate code
This commit is contained in:
3djc
2017-03-31 16:14:00 +02:00
committed by Bertrand Songis
parent b17a6d470f
commit e2722509f7
2 changed files with 17 additions and 2 deletions
+2
View File
@@ -123,6 +123,7 @@ class MainWindow : public QMainWindow
void fwPrefs();
void updateMenus();
void createProfile();
void copyProfile();
void setActiveSubWindow(QWidget *window);
void autoClose();
@@ -213,6 +214,7 @@ class MainWindow : public QMainWindow
QAction *recentFileActs[MAX_RECENT];
QAction *profileActs[MAX_PROFILES];
QAction *createProfileAct;
QAction *copyProfileAct;
QAction *openDocURLAct;
};