Fix opening settings
BUG: 473789
(cherry picked from commit d11d6c74b3)
This commit is contained in:
@@ -24,7 +24,9 @@ Labs.MenuBar {
|
|||||||
text: i18nc("menu", "Configure NeoChat...")
|
text: i18nc("menu", "Configure NeoChat...")
|
||||||
|
|
||||||
shortcut: StandardKey.Preferences
|
shortcut: StandardKey.Preferences
|
||||||
onTriggered: pageStack.pushDialogLayer("qrc:/SettingsPage.qml", {}, {
|
onTriggered: pageStack.pushDialogLayer("qrc:/SettingsPage.qml", {
|
||||||
|
connection: Controller.activeConnection
|
||||||
|
}, {
|
||||||
title: i18n("Configure")
|
title: i18n("Configure")
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -390,7 +390,7 @@ Kirigami.ApplicationWindow {
|
|||||||
Shortcut {
|
Shortcut {
|
||||||
sequence: "Ctrl+Shift+,"
|
sequence: "Ctrl+Shift+,"
|
||||||
onActivated: {
|
onActivated: {
|
||||||
pageStack.pushDialogLayer("qrc:/SettingsPage.qml")
|
pageStack.pushDialogLayer("qrc:/SettingsPage.qml", {connection: Controller.activeConnection}, { title: i18n("Configure") })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user