Commit 1d0e4739 authored by Leander Schulten's avatar Leander Schulten
Browse files

UX: ModelView: Show AskWhenRemovePopup if you click the remove button in one of the ModelViews

parent 6487111d
...@@ -162,7 +162,11 @@ GridLayout{ ...@@ -162,7 +162,11 @@ GridLayout{
id: buttonRemove id: buttonRemove
text:"Remove" text:"Remove"
font.pixelSize: 15 font.pixelSize: 15
onClicked: removeClicked(currentModelData) onClicked: askRemove.open();
}
AskWhenRemovePopup {
id: askRemove
onYesClicked: removeClicked(currentModelData)
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment