mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-31 01:50:47 +03:00
Make sure jdenticon toggle is always initialized
This commit is contained in:
parent
350d1977af
commit
c991f20284
1 changed files with 2 additions and 0 deletions
|
@ -813,6 +813,8 @@ UserSettingsPage::UserSettingsPage(QSharedPointer<UserSettings> settings, QWidge
|
||||||
useIdenticon_ = new Toggle{this};
|
useIdenticon_ = new Toggle{this};
|
||||||
useIdenticon_->setChecked(settings_->useIdenticon());
|
useIdenticon_->setChecked(settings_->useIdenticon());
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
useIdenticon_ = nullptr;
|
||||||
|
|
||||||
if (!settings_->tray()) {
|
if (!settings_->tray()) {
|
||||||
startInTrayToggle_->setState(false);
|
startInTrayToggle_->setState(false);
|
||||||
|
|
Loading…
Reference in a new issue