Fix issues with global menu

Smaller version of b5fcad3db0 that doesn't
have string changes.
This commit is contained in:
Joshua Goins
2025-05-21 16:36:23 -04:00
parent c88e843a34
commit 85262c70c3
2 changed files with 9 additions and 7 deletions

View File

@@ -73,9 +73,8 @@ Kirigami.ApplicationWindow {
Loader {
active: Kirigami.Settings.hasPlatformMenuBar && !Kirigami.Settings.isMobile
sourceComponent: Qt.createComponent("org.kde.neochat", "GlobalMenu")
onActiveChanged: if (active) {
item.connection = root.connection;
sourceComponent: GlobalMenu {
connection: root.connection
}
}