Browse Source

MainRootWindow.qml: indicator popup, allow to not dim background

QGC4.4
davidsastresas 1 year ago committed by Julian Oes
parent
commit
c2009ef5ec
No known key found for this signature in database
GPG Key ID: F0ED380FEA56DE41
  1. 4
      src/ui/MainRootWindow.qml

4
src/ui/MainRootWindow.qml

@ -624,9 +624,10 @@ ApplicationWindow {
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
//-- Indicator Popups //-- Indicator Popups
function showIndicatorPopup(item, dropItem) { function showIndicatorPopup(item, dropItem, dim = true) {
indicatorPopup.currentIndicator = dropItem indicatorPopup.currentIndicator = dropItem
indicatorPopup.currentItem = item indicatorPopup.currentItem = item
indicatorPopup.dim = dim
indicatorPopup.open() indicatorPopup.open()
} }
@ -641,6 +642,7 @@ ApplicationWindow {
padding: ScreenTools.defaultFontPixelWidth * 0.75 padding: ScreenTools.defaultFontPixelWidth * 0.75
modal: true modal: true
focus: true focus: true
dim: false
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside
property var currentItem: null property var currentItem: null
property var currentIndicator: null property var currentIndicator: null

Loading…
Cancel
Save