Qt: Disconnect safe mode widget on recreate

pull/3488/head
Stenzek 4 months ago
parent 7c01bde94e
commit 161637e3b7
No known key found for this signature in database

@ -201,10 +201,9 @@ void SettingsWindow::reloadPages()
} }
if (isPerGameSettings()) if (isPerGameSettings())
{
m_game_summary->reloadGameSettings(); m_game_summary->reloadGameSettings();
SettingWidgetBinder::DisconnectWidget(m_ui.safeMode); SettingWidgetBinder::DisconnectWidget(m_ui.safeMode);
}
m_widget_help_text_map.clear(); m_widget_help_text_map.clear();
m_current_help_widget = nullptr; m_current_help_widget = nullptr;

Loading…
Cancel
Save