Skip to content

Commit

Permalink
Make cancel button on save as prompt appear with no icon on the Cosmi…
Browse files Browse the repository at this point in the history
…c Dusk theme.
  • Loading branch information
jonoomph committed Dec 18, 2024
1 parent a866439 commit 57a9c1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/themes/cosmic/theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,10 @@ def __init__(self, app):
background-color: #0078FF;
color: #FFFFFF;
}}
QMessageBox QPushButton[text="&{_('Cancel')}"] {{
qproperty-icon: none;
}}
""" + self.style_sheet.replace("{PATH}", f"{path_unix_slashes}/")

def apply_theme(self):
Expand Down

0 comments on commit 57a9c1b

Please sign in to comment.