mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-22 06:08:07 +00:00
fix(ui/modules/Common/Popup/DesktopPopup.qml): requestActivate is now an optional parameter
This commit is contained in:
parent
b9c1e7da5f
commit
de8ca6302a
3 changed files with 7 additions and 3 deletions
|
|
@ -12,7 +12,7 @@ Item {
|
|||
|
||||
property alias popupX: popup.x
|
||||
property alias popupY: popup.y
|
||||
|
||||
property bool requestActivate: false
|
||||
property int flags: Qt.SplashScreen
|
||||
|
||||
readonly property alias popupWidth: popup.width
|
||||
|
|
@ -79,7 +79,10 @@ Item {
|
|||
ScriptAction {
|
||||
script: {
|
||||
popup.showNormal()
|
||||
popup.requestActivate()
|
||||
|
||||
if (wrapper.requestActivate) {
|
||||
popup.requestActivate()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -97,6 +97,7 @@ Item {
|
|||
|
||||
popupX: coords.x
|
||||
popupY: coords.y
|
||||
requestActivate: true
|
||||
|
||||
onVisibleChanged: !visible && searchBox.hideMenu()
|
||||
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ ApplicationWindow {
|
|||
}
|
||||
|
||||
function _setView (view, props) {
|
||||
window.showNormal()
|
||||
//window.show()
|
||||
window.requestActivate()
|
||||
collapse.setCollapsed(true)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue