Skip to content

Commit 82c0d9f

Browse files
committed
typing bugfix
1 parent 24c4dcd commit 82c0d9f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/window.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ def setup_ui(self):
261261
border: 1px solid #4CAF50;
262262
}
263263
""")
264+
# Connect textChanged signal
265+
self.input_area.textChanged.connect(self.update_run_button)
264266
input_layout.addWidget(self.input_area)
265267

266268
# Control buttons with modern styling
@@ -843,4 +845,4 @@ def handle_input_keypress(self, event):
843845
return
844846

845847
# For all other keys, use default handling
846-
super(QTextEdit, self.input_area).keyPressEvent(event)
848+
QTextEdit.keyPressEvent(self.input_area, event)

0 commit comments

Comments
 (0)