Fix #19279 Add/Remove Measure windows lose focus

enable property was always false using parent as no signal is sent when it changes, switch to using the visible content element
This commit is contained in:
Khang Tran 2023-11-20 21:54:07 -05:00
parent acb1bad4da
commit 450fddf315

View file

@ -48,7 +48,7 @@ StyledDialogView {
NavigationPanel {
id: measuresCountNavigationPanel
name: "MeasuresCountNavigationPanel"
enabled: parent && parent.enabled && parent.visible
enabled: content && content.enabled && content.visible
section: root.navigationSection
order: 1
direction: NavigationPanel.Horizontal