Commit 9f25435d authored by Marco Martin's avatar Marco Martin
Browse files

close anim if window active

parent 8f39bd38
......@@ -132,8 +132,11 @@ Item {
}
onPressed: delegate.z = 10;
onClicked: {
//window.hide();
window.setSingleActiveWindow(model.index, delegate);
if (model.IsActive) {
window.hide();
} else {
window.setSingleActiveWindow(model.index, delegate);
}
}
onReleased: {
delegate.z = 0;
......
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