Ensure correct index is set on hidden tab widget

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2023-10-30 19:19:31 +08:00
parent bfaba671f3
commit f2547140c4
No known key found for this signature in database
GPG key ID: C839200C384636B0

View file

@ -212,6 +212,7 @@ AccountSettings::AccountSettings(AccountState *accountState, QWidget *parent)
}
#else
disguiseTabWidget();
_ui->tabWidget->setCurrentIndex(0);
#endif
const auto mouseCursorChanger = new MouseCursorChanger(this);