diff --git a/nw/gui/mainmenu.py b/nw/gui/mainmenu.py index 366ff5fa..94c6b317 100644 --- a/nw/gui/mainmenu.py +++ b/nw/gui/mainmenu.py @@ -202,7 +202,7 @@ class GuiMainMenu(QMenuBar): # Project > Session Log menuItem = QAction("Session Log", self) menuItem.setStatusTip("Show the session log") - menuItem.triggered.connect(self.theParent.showTimeLineDialog) + menuItem.triggered.connect(self.theParent.showSessionLogDialog) self.projMenu.addAction(menuItem) # Project > Separator diff --git a/nw/gui/winmain.py b/nw/gui/winmain.py index aed55a4c..48753f32 100644 --- a/nw/gui/winmain.py +++ b/nw/gui/winmain.py @@ -523,11 +523,14 @@ class GuiMain(QMainWindow): def showTimeLineDialog(self): if self.hasProject: - dlgTLine = GuiSessionLogView(self, self.theProject) + dlgTLine = GuiTimeLineView(self, self.theProject) dlgTLine.exec_() return True def showSessionLogDialog(self): + if self.hasProject: + dlgTLine = GuiSessionLogView(self, self.theProject) + dlgTLine.exec_() return True def makeAlert(self, theMessage, theLevel=nwAlert.INFO):