mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
Wizard: Never attempt to hide server page
The wizard code used to call hide() on hardcoded wizards. This means that for a brief moment, the first page with the URL (disabled line edit) may be seen. I think that's completely legitimate from a feedback perspective. The alternative would be to unhide on error, but this is rather unelegant...
This commit is contained in:
parent
f9b98d6d1d
commit
6034bd0946
1 changed files with 0 additions and 3 deletions
|
@ -154,9 +154,6 @@ void OwncloudSetupPage::initializePage()
|
|||
setButtonText(QWizard::CommitButton, tr("&Next >"));
|
||||
validatePage();
|
||||
setVisible(false);
|
||||
// because the wizard will call show on us right after this call, we need to hide in the
|
||||
// next event loop iteration.
|
||||
QTimer::singleShot(0, this, SLOT(hide()));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue