Record paragraph at start of session

This commit is contained in:
Christopher T. Johnson
2024-01-03 09:12:23 -05:00
parent c6b2e7b027
commit d53bce7002
2 changed files with 17 additions and 5 deletions

View File

@@ -157,10 +157,8 @@ class SessionDialog(QDialog, Ui_Dialog):
def timerAction(self) -> None:
if self.activeBox.isChecked(): # we are stopping
self.activeBox.setChecked(False)
self.sender().setText("Start")
return
self.timer.setInterval(1000)
self.sender().setText("Stop")
self.activeBox.setChecked(True)
return
@@ -263,3 +261,9 @@ class SessionDialog(QDialog, Ui_Dialog):
if not query.exec():
query_error(query)
return
#
# End Slots
#
def isActive(self):
return self.activeBox.isChecked()