mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-11 05:06:51 +00:00
GODT-1298: signal GUI is ready and rise window
This commit is contained in:
@ -54,6 +54,10 @@ Window {
|
||||
}
|
||||
}
|
||||
|
||||
function guiReady() {
|
||||
console.log("Gui Ready")
|
||||
}
|
||||
|
||||
function _log(msg, color) {
|
||||
logTextArea.text += "<p style='color: " + color + ";'>" + msg + "</p>"
|
||||
logTextArea.text += "\n"
|
||||
@ -334,7 +338,7 @@ Window {
|
||||
enabled: bridge === undefined || bridge === null
|
||||
onClicked: {
|
||||
bridge = bridgeComponent.createObject()
|
||||
if (true) bridge._mainWindow.show()
|
||||
if (true) bridge._mainWindow.showAndRise()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user