From 6878421bd36300bff9d849670c1dc6aa70864950 Mon Sep 17 00:00:00 2001 From: Taka Date: Mon, 4 Nov 2019 10:35:54 +0000 Subject: [PATCH] Added separators to menus. --- vasl_templates/main_window.py | 1 + vasl_templates/webapp/static/main.js | 1 + 2 files changed, 2 insertions(+) diff --git a/vasl_templates/main_window.py b/vasl_templates/main_window.py index e3c193c..2e6ca6c 100644 --- a/vasl_templates/main_window.py +++ b/vasl_templates/main_window.py @@ -74,6 +74,7 @@ class MainWindow( QWidget ): file_menu.addAction( action ) add_action( "&Settings", self.on_settings ) add_action( "&About", self.on_about ) + file_menu.addSeparator() add_action( "E&xit", self.on_exit ) # set the window geometry diff --git a/vasl_templates/webapp/static/main.js b/vasl_templates/webapp/static/main.js index 3d18276..f3a3ea2 100644 --- a/vasl_templates/webapp/static/main.js +++ b/vasl_templates/webapp/static/main.js @@ -51,6 +51,7 @@ $(document).ready( function () { separator2: { type: "separator" }, template_pack: { label: "Load template pack", action: on_template_pack }, user_settings: { label: "Settings", action: user_settings }, + separator3: { type: "separator" }, show_help: { label: "Help", action: show_help }, } ) ; // nb: we only show the popmenu on left click (not the normal right-click)