diff --git a/imports/NeoChat/Menu/GlobalMenu.qml b/imports/NeoChat/Menu/GlobalMenu.qml index 596251814..752e42b9e 100644 --- a/imports/NeoChat/Menu/GlobalMenu.qml +++ b/imports/NeoChat/Menu/GlobalMenu.qml @@ -28,7 +28,9 @@ Labs.MenuBar { text: i18nc("menu", "Configure NeoChat...") shortcut: StandardKey.Preferences - onTriggered: pageStack.pushDialogLayer("qrc:/imports/NeoChat/Settings/SettingsPage.qml") + onTriggered: pageStack.pushDialogLayer("qrc:/imports/NeoChat/Settings/SettingsPage.qml", {}, { + title: i18n("Configure") + }) } Labs.MenuItem { text: i18nc("menu", "Quit NeoChat") diff --git a/qml/main.qml b/qml/main.qml index be64b4f11..490bcd808 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -253,7 +253,9 @@ Kirigami.ApplicationWindow { Kirigami.Action { text: i18n("Configure NeoChat...") icon.name: "settings-configure" - onTriggered: pageStack.pushDialogLayer("qrc:/imports/NeoChat/Settings/SettingsPage.qml") + onTriggered: pageStack.pushDialogLayer("qrc:/imports/NeoChat/Settings/SettingsPage.qml", {}, { + title: i18n("Configure") + }) enabled: pageStack.layers.currentItem.title !== i18n("Configure NeoChat...") shortcut: StandardKey.Preferences },