mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
Apply advanced settings prompt: offer "no" without clear options
By request. When prompted if previous settings should be applied, offer a "no" button that only applies this time, and does not clear settings.
This commit is contained in:
parent
0378751295
commit
b93fe29617
16 changed files with 1153 additions and 1188 deletions
|
@ -20,6 +20,7 @@ Popup {
|
|||
|
||||
signal yes()
|
||||
signal no()
|
||||
signal noClearSettings()
|
||||
signal editSettings()
|
||||
|
||||
// background of title
|
||||
|
@ -92,7 +93,7 @@ Popup {
|
|||
spacing: 20
|
||||
|
||||
ImButton {
|
||||
text: qsTr("NO, CLEAR SETTINGS")
|
||||
text: qsTr("NO")
|
||||
onClicked: {
|
||||
msgpopup.close()
|
||||
msgpopup.no()
|
||||
|
@ -101,6 +102,16 @@ Popup {
|
|||
Material.background: "#c51a4a"
|
||||
}
|
||||
|
||||
ImButton {
|
||||
text: qsTr("NO, CLEAR SETTINGS")
|
||||
onClicked: {
|
||||
msgpopup.close()
|
||||
msgpopup.noClearSettings()
|
||||
}
|
||||
Material.foreground: activeFocus ? "#d1dcfb" : "#ffffff"
|
||||
Material.background: "#c51a4a"
|
||||
}
|
||||
|
||||
ImButton {
|
||||
text: qsTr("YES")
|
||||
onClicked: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue