Skip to content

Commit fdcb1a7

Browse files
committed
250807.2
1 parent 706effd commit fdcb1a7

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed
Binary file not shown.

easycoder/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
from .ec_timestamp import *
1212
from .ec_value import *
1313

14-
__version__ = "250807.1"
14+
__version__ = "250807.2"

easycoder/ec_pyside.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -967,9 +967,10 @@ def r_set(self, command):
967967
record = self.getVariable(command['name'])
968968
widget = self.getVariable(command['name'])['widget']
969969
text = self.getRuntimeValue(command['value'])
970-
if isinstance(widget, QLineEdit):
970+
keyword = record['keyword']
971+
if keyword in ['label', 'pushbutton', 'lineinput']:
971972
widget.setText(text)
972-
elif isinstance(widget, QPlainTextEdit):
973+
elif keyword == 'multiline':
973974
widget.setPlainText(text)
974975
if record['keyword'] == 'pushbutton':
975976
widget.setAccessibleName(text)

0 commit comments

Comments
 (0)