Skip to content
Snippets Groups Projects
Commit 45de32be authored by Benjamin Arnaud's avatar Benjamin Arnaud Committed by Jean-Baptiste Kempf
Browse files

qml/NavigationWidget: Fix the 'requestLock' signal

parent b72d7b04
No related branches found
No related tags found
No related merge requests found
......@@ -113,7 +113,15 @@ Templates.Pane {
Navigation.leftItem: loaderA.item
Navigation.rightItem: loaderC.item
onLoaded: if (item) _applyItem(loaderB, item)
onLoaded: {
if (item === null) return
_applyItem(loaderB, item)
item.requestLockUnlockAutoHide.connect(function(lock) {
controlLayout.requestLockUnlockAutoHide(lock)
})
}
}
Loader {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment