Skip to content

Commit

Permalink
[ui] add Remorse Popup to Unapply All menu action
Browse files Browse the repository at this point in the history
  • Loading branch information
nephros committed Sep 19, 2021
1 parent f9d0ea5 commit 0230f0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qml/PatchManagerPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Page {

MenuItem {
text: qsTranslate("", "Unapply all patches")
onClicked: PatchManager.call(PatchManager.unapplyAllPatches())
onClicked: menuRemorse.execute( text, function() { PatchManager.call(PatchManager.unapplyAllPatches()) } )
visible: PatchManager.loaded
}

Expand Down Expand Up @@ -509,7 +509,7 @@ Page {
enabled: view.count == 0
text: qsTranslate("", "No patches available")
}

RemorsePopup { id: menuRemorse }
VerticalScrollDecorator {}
}

Expand Down

0 comments on commit 0230f0a

Please sign in to comment.