From e44cb389665b7558dc9c69ad22ea17f5c3098168 Mon Sep 17 00:00:00 2001 From: Nils <> Date: Tue, 14 Jul 2020 18:47:08 +0200 Subject: [PATCH] Hide unused undo redo in menu --- qtgui/mainwindow.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qtgui/mainwindow.py b/qtgui/mainwindow.py index 68a4a06..3f507b2 100644 --- a/qtgui/mainwindow.py +++ b/qtgui/mainwindow.py @@ -75,6 +75,9 @@ class MainWindow(TemplateMainWindow): tooltip=QtCore.QCoreApplication.translate("Menu", "Change step-grouping but keep your music the same"), ) + self.ui.actionUndo.setVisible(False) + self.ui.actionRedo.setVisible(False) + #Playback Controls width = 65 @@ -168,7 +171,7 @@ class MainWindow(TemplateMainWindow): #There is so much going on in the engine, we never reach a save status on load. #Here is the crowbar-method. - self.nsmClient.announceSaveStatus(isClean = True) + self.nsmClient.announceSaveStatus(isClean = True) def callback_numberOfTracksChanged(self, exportDictList):