mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile-widget: correct set of default_cylinder
set_default_cylinder is accepted, because it is defined in Qt Meta system, however the call is never carried out, because the Q_INVOKE macro is missing Change PrefGeneral.set_default_cylinder(...) which is a function call to PrefGeneral.default_cylinder = ... which is a builtin assignment Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
8c0023e151
commit
1dd7d9df3a
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ Kirigami.ScrollablePage {
|
|||
inputMethodHints: Qt.ImhNoPredictiveText
|
||||
Layout.fillWidth: true
|
||||
onActivated: {
|
||||
PrefGeneral.set_default_cylinder(defaultCylinderBox.currentText)
|
||||
PrefGeneral.default_cylinder = defaultCylinderBox.currentText
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue