Commit 370a5e0c authored by AndreiLisita's avatar AndreiLisita 🎮 Committed by Alexander Mikhaylenko

display-view: Ignore savestates shortcuts if runner doesn't support savestates

Fixes #227
parent 31f72cdf
Pipeline #104895 passed with stages
in 23 minutes and 42 seconds
......@@ -134,6 +134,9 @@ private class Games.DisplayView : Object, UiView {
}
// Shortcuts for the Savestates manager
if (!box.runner.supports_savestates)
return false;
if (savestates_list_state.is_revealed)
return false;
......
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