ft: Closing windows asks to save queries before closing the window.
fix: closetab did incorrectly close when cancel was choosen.
This commit is contained in:
parent
adb44fc157
commit
dea76e17c5
7 changed files with 59 additions and 10 deletions
|
|
@ -50,6 +50,10 @@ public:
|
|||
|
||||
QueryTool *GetActiveQueryTool();
|
||||
CrudTab *GetActiveCrud();
|
||||
|
||||
protected:
|
||||
virtual void closeEvent(QCloseEvent *event) override;
|
||||
|
||||
private:
|
||||
QTabWidget *m_tabWidget = nullptr;
|
||||
QToolBar *m_mainToolBar = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue