Fix: ToggleRecord not updating image
This commit is contained in:
parent
5bf714fafa
commit
528a3d9920
|
@ -32,6 +32,7 @@ class ToggleRecord(OBSActionBase):
|
||||||
self.show_error()
|
self.show_error()
|
||||||
return
|
return
|
||||||
status = self.plugin_base.backend.get_record_status()
|
status = self.plugin_base.backend.get_record_status()
|
||||||
|
print()
|
||||||
if status is None:
|
if status is None:
|
||||||
self.current_state = -1
|
self.current_state = -1
|
||||||
self.show_error()
|
self.show_error()
|
||||||
|
@ -77,9 +78,9 @@ class ToggleRecord(OBSActionBase):
|
||||||
self.show_error()
|
self.show_error()
|
||||||
return
|
return
|
||||||
self.plugin_base.backend.toggle_record()
|
self.plugin_base.backend.toggle_record()
|
||||||
|
self.on_tick()
|
||||||
|
|
||||||
def on_tick(self):
|
def on_tick(self):
|
||||||
return
|
|
||||||
self.show_current_rec_status()
|
self.show_current_rec_status()
|
||||||
|
|
||||||
def show_rec_time(self):
|
def show_rec_time(self):
|
||||||
|
|
Loading…
Reference in New Issue