Record paragraph at start of session
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user