Skip to content

Commit 0230f0a

Browse files
committed
[ui] add Remorse Popup to Unapply All menu action
See Issue #20 #20
1 parent f9d0ea5 commit 0230f0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/qml/PatchManagerPage.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Page {
145145

146146
MenuItem {
147147
text: qsTranslate("", "Unapply all patches")
148-
onClicked: PatchManager.call(PatchManager.unapplyAllPatches())
148+
onClicked: menuRemorse.execute( text, function() { PatchManager.call(PatchManager.unapplyAllPatches()) } )
149149
visible: PatchManager.loaded
150150
}
151151

@@ -509,7 +509,7 @@ Page {
509509
enabled: view.count == 0
510510
text: qsTranslate("", "No patches available")
511511
}
512-
512+
RemorsePopup { id: menuRemorse }
513513
VerticalScrollDecorator {}
514514
}
515515

0 commit comments

Comments
 (0)