Also added "Save copy as"
This prompts for a new filename but it keeps remembering the previous name.
This commit is contained in:
parent
69ac154b07
commit
6c268bd774
3 changed files with 28 additions and 6 deletions
|
|
@ -77,6 +77,7 @@ private:
|
|||
bool continueWithoutSaving();
|
||||
void closeEvent(QCloseEvent *event);
|
||||
void showEvent(QShowEvent *event);
|
||||
QString promptUserForSaveSqlFilename();
|
||||
void saveSqlTo(const QString &filename);
|
||||
private slots:
|
||||
|
||||
|
|
@ -102,6 +103,7 @@ private slots:
|
|||
void on_actionExplain_Analyze_triggered();
|
||||
void on_actionCancel_triggered();
|
||||
void on_actionSave_SQL_as_triggered();
|
||||
void on_actionSave_copy_of_SQL_as_triggered();
|
||||
};
|
||||
|
||||
#endif // MAINWINDOW_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue