mirror of
https://github.com/overte-org/community-apps.git
synced 2025-04-11 05:22:14 +02:00
Workaround for app auto-starting unexpectedly.
Signed-off-by: Armored Dragon <publicmail@armoreddragon.com>
This commit is contained in:
parent
2e30a977e6
commit
8c66ea61b8
1 changed files with 2 additions and 1 deletions
|
@ -69,7 +69,6 @@
|
|||
visible: app_is_visible, // FIXME Invalid?
|
||||
presentationMode: Desktop.PresentationMode.VIRTUAL,
|
||||
});
|
||||
chat_overlay_window.visible = app_is_visible; // The "visible" field in the Desktop.createWindow does not seem to work. Force set it to false
|
||||
|
||||
chat_overlay_window.closed.connect(toggleMainChatWindow);
|
||||
chat_overlay_window.sendToQml({ url: Script.resolvePath("./index.html") });
|
||||
|
@ -163,6 +162,8 @@
|
|||
break;
|
||||
|
||||
case "initialized":
|
||||
// https://github.com/overte-org/overte/issues/824
|
||||
chat_overlay_window.visible = app_is_visible; // The "visible" field in the Desktop.createWindow does not seem to work. Force set it to the initial state (false)
|
||||
_loadSettings();
|
||||
break;
|
||||
case "action":
|
||||
|
|
Loading…
Reference in a new issue