Make sure jdenticon toggle is always initialized

This commit is contained in:
Loren Burkholder 2021-08-30 08:00:35 -04:00
parent 350d1977af
commit c991f20284

View file

@ -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);