From fdb6d226fd0469e2153e5217fe6abed8af603c95 Mon Sep 17 00:00:00 2001 From: RSDuck Date: Sat, 17 Jul 2021 23:30:57 +0200 Subject: [PATCH] enable undo savestate load in the gui --- src/frontend/qt_sdl/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp index acb8d29b..b0b246d9 100644 --- a/src/frontend/qt_sdl/main.cpp +++ b/src/frontend/qt_sdl/main.cpp @@ -2205,6 +2205,8 @@ void MainWindow::onLoadState() if (slot > 0) sprintf(msg, "State loaded from slot %d", slot); else sprintf(msg, "State loaded from file"); OSD::AddMessage(0, msg); + + actUndoStateLoad->setEnabled(true); } else {