Mixed up the session log and timelien window
This commit is contained in:
+1
-1
@@ -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
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user