enable undo savestate load in the gui

This commit is contained in:
RSDuck 2021-07-17 23:30:57 +02:00
parent 98072d82bf
commit fdb6d226fd
1 changed files with 2 additions and 0 deletions

View File

@ -2205,6 +2205,8 @@ void MainWindow::onLoadState()
if (slot > 0) sprintf(msg, "State loaded from slot %d", slot); if (slot > 0) sprintf(msg, "State loaded from slot %d", slot);
else sprintf(msg, "State loaded from file"); else sprintf(msg, "State loaded from file");
OSD::AddMessage(0, msg); OSD::AddMessage(0, msg);
actUndoStateLoad->setEnabled(true);
} }
else else
{ {