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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user