Fix settings not opening
This commit is contained in:
parent
82d7e29213
commit
6cbc74faca
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ NBox {
|
||||||
icon: "settings"
|
icon: "settings"
|
||||||
onClicked: function () {
|
onClicked: function () {
|
||||||
if (!root.settingsWindow) {
|
if (!root.settingsWindow) {
|
||||||
const comp = Qt.createComponent("../Settings/SettingsWindow.qml")
|
const comp = Qt.createComponent("../../Settings/SettingsWindow.qml")
|
||||||
if (comp.status === Component.Ready) {
|
if (comp.status === Component.Ready) {
|
||||||
root.settingsWindow = comp.createObject(root)
|
root.settingsWindow = comp.createObject(root)
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue