mirror of
https://github.com/munki/munki.git
synced 2026-05-06 20:39:30 -05:00
Fix status text display issue with Unavailable items. Fixes #812
This commit is contained in:
+3
-1
@@ -1035,7 +1035,9 @@ class MSCMainWindowController(NSWindowController):
|
||||
else:
|
||||
btn.setInnerText_(item['short_action_text'])
|
||||
if status_text_span:
|
||||
status_text_span.setInnerText_(item['status_text'])
|
||||
# use setInnerHTML_ instead of setInnerText_ because sometimes the status
|
||||
# text contains html, like '<span class="warning">Some warning</span>'
|
||||
status_text_span.setInnerHTML_(item['status_text'])
|
||||
status_line.setClassName_(item['status'])
|
||||
|
||||
def actionButtonClicked_(self, item_name):
|
||||
|
||||
Reference in New Issue
Block a user