Parcourir la source

"fix" for keyboar shortcut weirdness

Billy Barrow il y a 1 an
Parent
commit
74efe54f1c
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      src/App.vala

+ 3 - 0
src/App.vala

@@ -10,7 +10,10 @@ namespace Publicate {
         }
 
         protected override void activate () {
+            // Absolutely janky fix for whatever is causing the keyboard shortcuts not to show up in menus
             var window = new ViewerWindow(this);
+            window.destroy ();
+            window = new ViewerWindow(this);
             add_window (window);
             window.present ();
         }