mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 02:33:37 +02:00
Merge pull request #8130 from jherico/qml_window_visibility
Fix initial visibility of QML windows from scripts
This commit is contained in:
commit
61f5088ef3
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ void QmlWindowClass::initQml(QVariantMap properties) {
|
|||
}
|
||||
|
||||
bool visible = !properties.contains(VISIBILE_PROPERTY) || properties[VISIBILE_PROPERTY].toBool();
|
||||
object->setProperty(VISIBILE_PROPERTY, visible);
|
||||
object->setProperty(OFFSCREEN_VISIBILITY_PROPERTY, visible);
|
||||
object->setProperty(SOURCE_PROPERTY, _source);
|
||||
|
||||
// Forward messages received from QML on to the script
|
||||
|
|
Loading…
Reference in a new issue