Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
Kajongg
Commits
022ff842
Commit
022ff842
authored
May 04, 2021
by
Wolfgang Rohdewald
Browse files
Logging UIWall.text now works in --debug=all
parent
57aad2f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/log.py
View file @
022ff842
...
...
@@ -270,7 +270,10 @@ class EventData(str):
if
hasattr
(
receiver
,
'text'
):
if
receiver
.
__class__
.
__name__
!=
'QAbstractSpinBox'
:
# accessing QAbstractSpinBox.text() gives a segfault
msg
+=
'(%s)'
%
receiver
.
text
()
try
:
msg
+=
'(%s)'
%
receiver
.
text
()
except
TypeError
:
msg
+=
'(%s)'
%
receiver
.
text
elif
hasattr
(
receiver
,
'objectName'
):
msg
+=
'(%s)'
%
receiver
.
objectName
()
else
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment