Commit 24a5afbb authored by AndreiLisita's avatar AndreiLisita 🎮

savestates-list: Add a type check in select_savestate_row()

parent f2bf2269
Pipeline #105217 passed with stages
in 14 minutes and 54 seconds
......@@ -269,6 +269,9 @@ private class Games.SavestatesList : Gtk.Box {
state.selected_savestate = null;
}
else {
if (!(row is SavestateListBoxRow))
return;
var savestate_row = row as SavestateListBoxRow;
var savestate = savestate_row.savestate;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment