mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: remember the theme
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
26b206af1f
commit
206df227f8
4 changed files with 28 additions and 1 deletions
|
@ -404,7 +404,13 @@ Kirigami.ApplicationWindow {
|
|||
Kirigami.Theme.buttonHoverColor = Qt.binding(function() { return darkerPrimaryColor })
|
||||
|
||||
// this needs to pick the theme from persistent preference settings
|
||||
blueTheme()
|
||||
var theme = manager.theme
|
||||
if (theme == "Blue")
|
||||
blueTheme()
|
||||
else if (theme == "Pink")
|
||||
pinkTheme()
|
||||
else
|
||||
darkTheme()
|
||||
}
|
||||
}
|
||||
property Item stackView: pageStack
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue