Skip to content

Commit

Permalink
qtplasmac: fix button_normal "pressed" color
Browse files Browse the repository at this point in the history
  • Loading branch information
snowgoer540 committed Apr 14, 2024
1 parent 96dfb9b commit 6ebe7ef
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
10 changes: 5 additions & 5 deletions share/qtvcp/screens/qtplasmac/qtplasmac_handler.py
@@ -1,4 +1,4 @@
VERSION = '238.312'
VERSION = '238.313'
LCNCVER = '2.9'
DOCSVER = LCNCVER

Expand Down Expand Up @@ -4587,10 +4587,10 @@ def button_normal(self, button):
.format(self.foreColor, self.backColor, self.disabledColor))
else:
self.w[button].setStyleSheet( \
'QPushButton {{ color: {0}; background: {1} }} \
QPushButton:pressed {{ color: {0}; background: {1} }} \
QPushButton:disabled {{ color: {2} }}' \
.format(self.foreColor, self.backColor, self.disabledColor))
'QPushButton {{ color: {0}; background: {2} }} \
QPushButton:pressed {{ color: {2}; background: {1} }} \
QPushButton:disabled {{ color: {3} }}' \
.format(self.foreColor, self.fore1Color, self.backColor, self.disabledColor))


#########################################################################################################################
Expand Down
5 changes: 5 additions & 0 deletions share/qtvcp/screens/qtplasmac/versions.html
Expand Up @@ -26,6 +26,11 @@ <h2>QtPlasmaC Version History - LinuxCNC 2.9</h2>
</table>
<br>
<!--- ****** ADD NEXT VERSION BELOW THIS LINE ****** --->
<br><b><u>238.313 2024 Apr 14</u></b>
<ul style="margin:0;">
<li>fix button_normal "pressed" color</li>
</ul>

<br><b><u>238.312 2024 Apr 9</u></b>
<ul style="margin:0;">
<li>fix button interlock when bounds error is present</li>
Expand Down

0 comments on commit 6ebe7ef

Please sign in to comment.