Commit b0b8a04
committed
Fix custom restart message display in control panel
Fixed the issue where custom message for restart options, set through
'self.restart_msg = _('Your custom message')' in case of
'self.needs_restart' set to True was not getting displayed and instead
the default 'Changes require restart' was displayed.
This was solved by simply passing the 'self.restart_msg' variable in
/jarabe/controlpanel/sectionview.py to 'alert.props.msg' variable in
/jarabe/controlpanel/gui.py where it is finally displayed.1 parent a942622 commit b0b8a04
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
375 | | - | |
| 375 | + | |
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
| |||
0 commit comments