Fix accidentally missing undo button on the savestate popup

This commit is contained in:
Henrik Rydgård
2026-03-13 20:09:21 +01:00
parent fba616a259
commit 8f1fc4a637
+1 -1
View File
@@ -114,7 +114,7 @@ protected:
if (undoEnabled || hasUndo) {
// Show the undo button if state undo is enabled in settings, OR one is available. We can load it
// even if making new undo states is not enabled.
Choice *undoButton = new Choice(pa->T("Undo last save"));
undoButton = new Choice(pa->T("Undo last save"));
undoButton->SetEnabled(hasUndo);
}