Fix behavior on pressing "X" in advanced options dialog
In the "advanced settings" dialog, if "X" instead of "apply settings" is clicked, it is seen as "cancel" and no settings are applied. If there do are saved settings, make sure to ask the user on pressing "write" if they do want the saved settings applied, instead of applying no settings.
This commit is contained in:
@@ -59,6 +59,7 @@ Popup {
|
||||
anchors.fill: parent
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
onClicked: {
|
||||
initialized = false
|
||||
popup.close()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user