Add theme update handling to manuscript build tool

This commit is contained in:
Veronica Berglyd Olsen
2025-10-26 02:00:04 +01:00
parent 9339c9ff62
commit e492c6575d
5 changed files with 76 additions and 34 deletions
+2 -1
View File
@@ -2590,7 +2590,7 @@ class GuiDocEditSearch(QFrame):
# Buttons
# =======
self.showReplace = NIconToggleButton(self, iSz, "unfold")
self.showReplace = NIconToggleButton(self, iSz)
self.showReplace.toggled.connect(self._doToggleReplace)
self.searchButton = NIconToolButton(self, iSz)
@@ -2732,6 +2732,7 @@ class GuiDocEditSearch(QFrame):
self.cancelSearch.setIcon(SHARED.theme.getIcon("search_cancel"))
self.searchButton.setThemeIcon("search", "green")
self.replaceButton.setThemeIcon("search_replace", "green")
self.showReplace.setThemeIcon("unfold")
# Set stylesheets
self.searchOpt.setStyleSheet("QToolBar {padding: 0;}")