diff options
-rw-r--r-- | src/gui.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui.cpp b/src/gui.cpp index aad42da..a36930e 100644 --- a/src/gui.cpp +++ b/src/gui.cpp @@ -192,6 +192,10 @@ void Gui::updateButtons() if (_remoteState == STATE_COMPLETELY_DONE || _remoteState == STATE_PROCESSING) { if (_remoteState == STATE_COMPLETELY_DONE) { _tmrStatus->stop(); + QTimer::singleShot(5000, [this]() { + _allowClose = true; + this->close(); + }); } _btnAbort->setEnabled(false); _btnOk->setEnabled(true); |