mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile/settings: refer to the correct theme object
This was missed when switching object names. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b3994ffd3f
commit
b7433b15ff
1 changed files with 6 additions and 6 deletions
|
@ -321,23 +321,23 @@ TemplatePage {
|
|||
spacing: Kirigami.Units.largeSpacing
|
||||
TemplateButton {
|
||||
text: qsTr("smaller")
|
||||
enabled: ThemeNew.currentScale !== 0.85
|
||||
enabled: subsurfaceTheme.currentScale !== 0.85
|
||||
onClicked: {
|
||||
ThemeNew.currentScale = 0.85
|
||||
subsurfaceTheme.currentScale = 0.85
|
||||
}
|
||||
}
|
||||
TemplateButton {
|
||||
text: qsTr("regular")
|
||||
enabled: ThemeNew.currentScale !== 1.0
|
||||
enabled: subsurfaceTheme.currentScale !== 1.0
|
||||
onClicked: {
|
||||
ThemeNew.currentScale = 1.0
|
||||
subsurfaceTheme.currentScale = 1.0
|
||||
}
|
||||
}
|
||||
TemplateButton {
|
||||
text: qsTr("larger")
|
||||
enabled: ThemeNew.currentScale !== 1.15
|
||||
enabled: subsurfaceTheme.currentScale !== 1.15
|
||||
onClicked: {
|
||||
ThemeNew.currentScale = 1.15
|
||||
subsurfaceTheme.currentScale = 1.15
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue