From db17e4a4e2da4ec7be9493a2a808561af5bd8763 Mon Sep 17 00:00:00 2001 From: Stanislav Shwartsman Date: Fri, 17 Nov 2023 09:37:46 +0200 Subject: [PATCH] Revert "reset status bar items at reset" (#137) Reverts bochs-emu/Bochs#136 --- bochs/gui/gui.cc | 7 ------- bochs/gui/gui.h | 1 - 2 files changed, 8 deletions(-) diff --git a/bochs/gui/gui.cc b/bochs/gui/gui.cc index 4349b821d..a5090c147 100644 --- a/bochs/gui/gui.cc +++ b/bochs/gui/gui.cc @@ -420,7 +420,6 @@ void bx_gui_c::cdrom1_handler(void) void bx_gui_c::reset_handler(void) { BX_INFO(("system RESET callback")); - BX_GUI_THIS statusbar_setall(0); bx_pc_system.Reset(BX_RESET_HARDWARE); } @@ -987,12 +986,6 @@ void bx_gui_c::statusbar_setitem(int element, bool active, bool w) } } -void bx_gui_c::statusbar_setall(bool active) -{ - for (int i=0; i