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_->setChecked(settings_->useIdenticon());
|
||||
}
|
||||
else
|
||||
useIdenticon_ = nullptr;
|
||||
|
||||
if (!settings_->tray()) {
|
||||
startInTrayToggle_->setState(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue