mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-20 11:03:56 +00:00
fix: Untoggle UI & Wayland Fixes
This commit is contained in:
@@ -1469,15 +1469,19 @@ void GMainWindow::RestoreUIState() {
|
|||||||
|
|
||||||
ui->action_Show_Status_Bar->setChecked(UISettings::values.show_status_bar.GetValue());
|
ui->action_Show_Status_Bar->setChecked(UISettings::values.show_status_bar.GetValue());
|
||||||
statusBar()->setVisible(ui->action_Show_Status_Bar->isChecked());
|
statusBar()->setVisible(ui->action_Show_Status_Bar->isChecked());
|
||||||
ui->action_Show_Performance_Overlay->setChecked(UISettings::values.show_performance_overlay.GetValue());
|
|
||||||
|
// Force the performance overlay to be off on startup
|
||||||
|
ui->action_Show_Performance_Overlay->setChecked(false);
|
||||||
if (performance_overlay) {
|
if (performance_overlay) {
|
||||||
performance_overlay->SetVisible(ui->action_Show_Performance_Overlay->isChecked());
|
performance_overlay->SetVisible(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
ui->action_Show_Vram_Overlay->setChecked(UISettings::values.show_vram_overlay.GetValue());
|
// Force the VRAM overlay to be off on startup
|
||||||
|
ui->action_Show_Vram_Overlay->setChecked(false);
|
||||||
if (vram_overlay) {
|
if (vram_overlay) {
|
||||||
vram_overlay->SetVisible(ui->action_Show_Vram_Overlay->isChecked());
|
vram_overlay->SetVisible(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
Debugger::ToggleConsole();
|
Debugger::ToggleConsole();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user