From 133184e6ce133404a17afa779c6bb00713d62b67 Mon Sep 17 00:00:00 2001
From: morkolai <nikolai-mork@live.no>
Date: Thu, 27 Feb 2020 16:55:32 +0100
Subject: [PATCH] =?UTF-8?q?#20,21=20status=20of=20binding=20er=20n=C3=A5?=
 =?UTF-8?q?=20knyttet=20til=20rett=20knapp?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 soitool/main_window.py | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/soitool/main_window.py b/soitool/main_window.py
index 9ab9389..e1341fd 100644
--- a/soitool/main_window.py
+++ b/soitool/main_window.py
@@ -60,11 +60,6 @@ class MainWindow(QMainWindow):
         export.setStatusTip("Eksporter SOI til annet filformat")
         file_menu.addAction(export)
 
-        # New Module
-        new_module = QAction("Ny modul", self)
-        new_module.setShortcut("Ctrl+m")
-        new_module.setStatusTip("Legg til en ny modul")
-
         # Small codebook
         small_codebook = QAction("Liten kodebok", self)
         small_codebook.setStatusTip("Vis liten kodebok")
@@ -107,7 +102,11 @@ class MainWidget(QWidget):
         layout1 = QHBoxLayout()
         layout2 = QVBoxLayout()
 
+        # New module button
         new_module = QPushButton("Ny modul")
+        new_module.setShortcut("Ctrl+m")
+        new_module.setStatusTip("Legg til en ny modul")
+
         tree_view = QTreeWidget()
         setup = QPushButton("Oppsett")
         layout2.addWidget(tree_view)
-- 
GitLab