Skip to content

Commit 07e637b

Browse files
committed
qtplasmac: clicking notification background stops error blink, add icon to notification box
1 parent d98ce71 commit 07e637b

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

share/qtvcp/screens/qtplasmac/qtplasmac_handler.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = '008.066'
1+
VERSION = '008.067'
22
LCNCVER = '2.10'
33

44
'''
@@ -748,7 +748,7 @@ def new_process_error(self, w, kind, text):
748748
if 'on limit switch error' in text:
749749
N.update(O.notify_hard_limits, title='Machine Error:', message=text, msgs=O.notify_max_msgs)
750750
elif kind == linuxcnc.OPERATOR_ERROR and not self.realTimeDelay:
751-
N.update(O.notify_critical, title='Operator Error:', message=text, msgs=O.notify_max_msgs)
751+
N.update(O.notify_critical, icon='dialog-error', title='Operator Error:', message=text, msgs=O.notify_max_msgs)
752752
elif kind == linuxcnc.OPERATOR_TEXT:
753753
N.update(O.notify_critical, title='Operator Text:', message=text, msgs=O.notify_max_msgs)
754754
elif kind == linuxcnc.OPERATOR_DISPLAY:
@@ -2710,7 +2710,7 @@ def set_buttons_state(self, buttonLists, state):
27102710
self.w[self.ccButton].setEnabled(False)
27112711

27122712
def system_notify_button_pressed(self, object, button, state):
2713-
if button in ['clearAll', 'close', 'lastFive'] and state:
2713+
if button in ['background', 'clearAll', 'close', 'lastFive'] and state:
27142714
self.error_status(False)
27152715

27162716
def error_status(self, state):

share/qtvcp/screens/qtplasmac/versions.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ <h2>QtPlasmaC Version History - LinuxCNC 2.10</h2>
2626
</table>
2727
<br>
2828
<!--- ****** ADD NEXT VERSION BELOW THIS LINE ****** --->
29+
<br><b><u>008.067 2025 June 28</u></b>
30+
<ul style="margin:0;">
31+
<li>allow clicking error notification background to stop error blinking</li>
32+
<li>add dialog-error icon to error notification box</li>
33+
2934
<br><b><u>008.066 2025 June 19</u></b>
3035
<ul style="margin:0;">
3136
<li>fix misshaped conversational internal angled rectangles</li>

0 commit comments

Comments
 (0)