[gnome-games] savestates-list: Call select_savestate_row() if savestate creation fails



commit 775bbdc226040dccc1b37cf973eca4c05f9eb6a3
Author: Yetizone <andreii lisita gmail com>
Date:   Fri Aug 16 15:15:15 2019 +0300

    savestates-list: Call select_savestate_row() if savestate creation fails
    
    Ensure the core view previews the correct thumbnail.

 src/ui/savestates-list.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/ui/savestates-list.vala b/src/ui/savestates-list.vala
index e84b358c..1ad30a1b 100644
--- a/src/ui/savestates-list.vala
+++ b/src/ui/savestates-list.vala
@@ -67,7 +67,7 @@ private class Games.SavestatesList : Gtk.Box {
                        }
                        else {
                                // Savestate creation failed
-                               list_box.select_row (list_box.get_row_at_index (1));
+                               select_savestate_row (list_box.get_row_at_index (1));
 
                                // TODO: Perhaps we should warn the user that the creation of
                                // the savestate failed via an in-app notification ?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]