live-reload: allow specifying a component to load
This commit is contained in:
@@ -41,7 +41,7 @@ ApplicationWindow {
|
||||
id: uiLoader
|
||||
anchors.fill: parent
|
||||
scale: py.ready ? 1 : 0.5
|
||||
source: py.ready ? "UI.qml" : ""
|
||||
source: py.ready ? (Qt.application.arguments[1] || "UI.qml") : ""
|
||||
|
||||
Behavior on scale { HNumberAnimation { overshoot: 5; factor: 1.2 } }
|
||||
}
|
||||
|
Reference in New Issue
Block a user