Skip to content

Commit 57a9c1b

Browse files
committed
Make cancel button on save as prompt appear with no icon on the Cosmic Dusk theme.
1 parent a866439 commit 57a9c1b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/themes/cosmic/theme.py

+4
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,10 @@ def __init__(self, app):
481481
background-color: #0078FF;
482482
color: #FFFFFF;
483483
}}
484+
485+
QMessageBox QPushButton[text="&{_('Cancel')}"] {{
486+
qproperty-icon: none;
487+
}}
484488
""" + self.style_sheet.replace("{PATH}", f"{path_unix_slashes}/")
485489

486490
def apply_theme(self):

0 commit comments

Comments
 (0)