From a0eb9013b1c028330610ef4c1ec828fedb36a726 Mon Sep 17 00:00:00 2001 From: Sergey Starosek Date: Mon, 9 Dec 2013 21:28:05 +0200 Subject: Re-enable login and password fields after upload Give user the possibility to re-enter username and password after unsuccessful upload due to wrong credentials. Signed-off-by: Sergey Starosek Signed-off-by: Dirk Hohndel --- qt-ui/subsurfacewebservices.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui') diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp index d4a1428ee..f0e68a4ac 100644 --- a/qt-ui/subsurfacewebservices.cpp +++ b/qt-ui/subsurfacewebservices.cpp @@ -767,6 +767,8 @@ void DivelogsDeWebServices::uploadFinished() ui.progressBar->setRange(0,1); ui.upload->setEnabled(true); + ui.userID->setEnabled(true); + ui.password->setEnabled(true); ui.buttonBox->button(QDialogButtonBox::Cancel)->setEnabled(false); ui.buttonBox->button(QDialogButtonBox::Apply)->setEnabled(true); ui.buttonBox->button(QDialogButtonBox::Apply)->setText(tr("Done")); -- cgit v1.2.3-70-g09d2