Sfoglia il codice sorgente

"fix" for keyboar shortcut weirdness

Billy Barrow 1 anno fa
parent
commit
74efe54f1c
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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 ();
         }