mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-05-28 16:09:33 +00:00
Pause improved
This commit is contained in:
@@ -288,7 +288,12 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||
|
||||
@pyqtSlot()
|
||||
def pause_all(self):
|
||||
Client.broadcast("pause")
|
||||
if self.ui.pause_button.text() == 'Pause':
|
||||
Client.broadcast('pause')
|
||||
self.ui.pause_button.setText('Resume')
|
||||
else:
|
||||
Client.broadcast('resume')
|
||||
self.ui.pause_button.setText('Pause')
|
||||
|
||||
@pyqtSlot()
|
||||
def takeoff_selected(self):
|
||||
|
||||
Reference in New Issue
Block a user