diff options
-rw-r--r-- | src/gui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui.cpp b/src/gui.cpp index a36930e..49dbe17 100644 --- a/src/gui.cpp +++ b/src/gui.cpp @@ -48,7 +48,7 @@ Gui::Gui(const QString &urlbase, const QString &uuid, int dnbd3pid, const QStrin _tmrStatus->start(2500); QObject::connect(_tmrStatus, &QTimer::timeout, [this]() { Gui::queryRemoteStatus(); - if (_remoteState == STATE_WAITING_FOR_UPLOAD_DONE || _remoteState == STATE_PROCESSING) { + if (_remoteState == STATE_WAITING_FOR_UPLOAD_DONE) { Gui::readDnbd3Status(); } }); @@ -201,6 +201,7 @@ void Gui::updateButtons() _btnOk->setEnabled(true); _btnOk->setText(tr("Schließen")); } else if (_remoteState == STATE_UPLOAD_DONE) { + setProgressState(tr("Änderungen hochladen"), 100, QString()); _btnAbort->setEnabled(true); _btnOk->setEnabled(true); } else if (_remoteState == STATE_ERROR) { |