qtquick: Fix undefined variable error in example
This commit is contained in:
@@ -40,10 +40,10 @@ KDDW.MainWindow {
|
|||||||
z: 10
|
z: 10
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (another.dockWidget.visible) {
|
if (dock4.dockWidget.visible) {
|
||||||
another.dockWidget.close();
|
dock4.dockWidget.close();
|
||||||
} else {
|
} else {
|
||||||
another.dockWidget.show();
|
dock4.dockWidget.show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user