We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b130f33 commit 1153990Copy full SHA for 1153990
2 files changed
pyflow/blocks/codeblock.py
@@ -133,6 +133,11 @@ def run_code(self):
133
134
super().run_code() # actually run the code
135
136
+ def execution_finished(self):
137
+ super().execution_finished()
138
+ self.run_button.setText(">")
139
+ self.run_all_button.setText(">>")
140
+
141
def update_title(self):
142
"""Change the geometry of the title widget."""
143
self.title_widget.setGeometry(
pyflow/blocks/executableblock.py
@@ -85,8 +85,6 @@ def run_code(self):
85
def execution_finished(self):
86
"""Reset the text of the run buttons."""
87
self.run_state = 0
88
- self.run_button.setText(">")
89
- self.run_all_button.setText(">>")
90
self.blocks_to_run = []
91
92
def _interrupt_execution(self):
0 commit comments