Clear deleted window from the list.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2015-08-01 16:06:12 +03:00
parent 5524fd60e6
commit 9acd880dd6

View File

@ -278,6 +278,7 @@ void TMainWindow::closeEvent(QCloseEvent *event)
if (MaybeSave()) if (MaybeSave())
{ {
event->accept(); event->accept();
deleteLater();
} }
else else
{ {