diff --git a/soitool/main_window.py b/soitool/main_window.py index 9ab938970b0f0ac39752d6671fabb4326745bebb..e1341fd79defe59586850b3862563652244f67b3 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)