mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-30 11:04:50 +00:00
Fix display of warnings in GUI pane.
This commit is contained in:
parent
abba7cb651
commit
b465542388
2 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
6.7 "" (released xx.xx.2011)
|
||||
|
||||
Fixes:
|
||||
- gui: Fix display of warnings in property pane.
|
||||
|
||||
|
||||
6.6 "Coraline" (released 25.3.2011)
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,8 @@ def set_properties (widget, data):
|
|||
else:
|
||||
widget.prop_size.setText(u"")
|
||||
widget.prop_info.setText(wrap(data.info, 65))
|
||||
widget.prop_warning.setText(wrap(data.warnings, 65))
|
||||
warning_msgs = [x[1] for x in data.warnings]
|
||||
widget.prop_warning.setText(wrap(warning_msgs, 65))
|
||||
if data.valid:
|
||||
result = u"Valid"
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue