@@ -74,6 +74,9 @@ Item {
7474 }
7575
7676 function __reallyShow() {
77+ if (showAnimation != undefined && showAnimation.running)
78+ return;
79+
7780 if (!available) {
7881 __skipShowAnimation = false;
7982 return false;
@@ -86,9 +89,7 @@ Item {
8689 }
8790
8891 if (showAnimation != undefined) {
89− if (!showAnimation.running) {
90− showAnimation.restart()
91− }
92+ showAnimation.restart()
9293 if (__skipShowAnimation || shown) {
9394 showAnimation.complete();
9495 }
@@ -107,6 +108,9 @@ Item {
107108 property var prepareToHide: function(){}
108109
109110 function hide() {
111+ if (hideAnimation != undefined && hideAnimation.running)
112+ return;
113+
110114 if (showAnimation != undefined && showAnimation.running) {
111115 showAnimation.stop()
112116 }
@@ -119,9 +123,7 @@ Item {
119123 }
120124
121125 if (hideAnimation != undefined) {
122− if (!hideAnimation.running) {
123− hideAnimation.restart()
124− }
126+ hideAnimation.restart()
125127 if (__skipHideAnimation || !shown) {
126128 hideAnimation.complete();
127129 }