mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
35b0924335
commit
a0eb9013b1
1 changed files with 2 additions and 0 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Reference in a new issue