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:
eelke 2020-04-04 13:23:43 +02:00
parent adb44fc157
commit dea76e17c5
7 changed files with 59 additions and 10 deletions

View file

@ -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;