использование правильного сигнала закрытия окна
[novacoin.git] / src / qt / transactiondescdialog.cpp
index c79792d..4c62e4b 100644 (file)
@@ -34,4 +34,10 @@ void TransactionDescDialog::keyPressEvent(QKeyEvent *event)
         close();
     }
 #endif
-}
\ No newline at end of file
+}
+
+void TransactionDescDialog::closeEvent(QCloseEvent *e)
+{
+    emit(stopExec());
+    QWidget::closeEvent(e);
+}