diff options
author | Sergey Starosek <sergey.starosek@gmail.com> | 2013-12-09 21:28:05 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-09 20:29:38 +0100 |
commit | a0eb9013b1c028330610ef4c1ec828fedb36a726 (patch) | |
tree | c8ef4d0759937723cbf4298e5feb8a1b09a8ce6f /qt-ui | |
parent | 35b092433597090da39c9f6eea209b12e809e6f4 (diff) | |
download | subsurface-a0eb9013b1c028330610ef4c1ec828fedb36a726.tar.gz |
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 <sergey.starosek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/subsurfacewebservices.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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")); |