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
|
# Project > Session Log
|
||||||
menuItem = QAction("Session Log", self)
|
menuItem = QAction("Session Log", self)
|
||||||
menuItem.setStatusTip("Show the session log")
|
menuItem.setStatusTip("Show the session log")
|
||||||
menuItem.triggered.connect(self.theParent.showTimeLineDialog)
|
menuItem.triggered.connect(self.theParent.showSessionLogDialog)
|
||||||
self.projMenu.addAction(menuItem)
|
self.projMenu.addAction(menuItem)
|
||||||
|
|
||||||
# Project > Separator
|
# Project > Separator
|
||||||
|
|||||||
+4
-1
@@ -523,11 +523,14 @@ class GuiMain(QMainWindow):
|
|||||||
|
|
||||||
def showTimeLineDialog(self):
|
def showTimeLineDialog(self):
|
||||||
if self.hasProject:
|
if self.hasProject:
|
||||||
dlgTLine = GuiSessionLogView(self, self.theProject)
|
dlgTLine = GuiTimeLineView(self, self.theProject)
|
||||||
dlgTLine.exec_()
|
dlgTLine.exec_()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def showSessionLogDialog(self):
|
def showSessionLogDialog(self):
|
||||||
|
if self.hasProject:
|
||||||
|
dlgTLine = GuiSessionLogView(self, self.theProject)
|
||||||
|
dlgTLine.exec_()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def makeAlert(self, theMessage, theLevel=nwAlert.INFO):
|
def makeAlert(self, theMessage, theLevel=nwAlert.INFO):
|
||||||
|
|||||||
Reference in New Issue
Block a user