Mixed up the session log and timelien window

This commit is contained in:
Veronica K. B. Olsen
2019-10-20 18:48:53 +02:00
parent b40e1bac4a
commit d9a8f860f0
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -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
+4 -1
View File
@@ -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):