mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 00:13:53 +02:00
enable Desktop.CLOSE_BUTTON_HIDES flag for create app native windows
This commit is contained in:
parent
c583c07d9c
commit
d5fb094d8a
2 changed files with 2 additions and 2 deletions
|
@ -613,7 +613,7 @@ var toolBar = (function () {
|
|||
closeExistingDialogWindow();
|
||||
dialogWindow = Desktop.createWindow("qml/hifi/tablet/New" + entityType + "Window.qml", {
|
||||
title: "New " + entityType + " Entity",
|
||||
flags: Desktop.ALWAYS_ON_TOP,
|
||||
flags: Desktop.ALWAYS_ON_TOP | Desktop.CLOSE_BUTTON_HIDES,
|
||||
presentationMode: Desktop.PresentationMode.NATIVE,
|
||||
size: { x: 500, y: 300 },
|
||||
visible: true
|
||||
|
|
|
@ -92,7 +92,7 @@ module.exports = (function() {
|
|||
var windowRect = getWindowRect(this.settingsKey, defaultRect);
|
||||
this.window = Desktop.createWindow(this.qmlPath, {
|
||||
title: this.title,
|
||||
flags: Desktop.ALWAYS_ON_TOP,
|
||||
flags: Desktop.ALWAYS_ON_TOP | Desktop.CLOSE_BUTTON_HIDES,
|
||||
presentationMode: Desktop.PresentationMode.NATIVE,
|
||||
size: windowRect.size,
|
||||
visible: true,
|
||||
|
|
Loading…
Reference in a new issue