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
@ -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…
x
Reference in New Issue
Block a user