Skip to content

Commit e1a9d87

Browse files
committed
Macro editor/Fix: console is read-only
(stdin is currently not supported)
1 parent 821658c commit e1a9d87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cdl/core/gui/panel/macro.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def __init__(self, parent: QW.QWidget | None = None) -> None:
8080
self.tabwidget_tb = QW.QToolBar(self)
8181
self.tabwidget_tb.setOrientation(QC.Qt.Vertical)
8282

83-
self.console = PythonShellWidget(self)
83+
self.console = PythonShellWidget(self, read_only=True)
8484
self.console.set_light_background(not is_dark_mode())
8585
self.console.setMaximumBlockCount(5000)
8686
font = get_font(CONF, "console")

0 commit comments

Comments
 (0)