@@ -74,6 +74,9 @@ Item {
76 function __reallyShow() {
76 function __reallyShow() {
77+ if (showAnimation != undefined && showAnimation.running)
77 if (!available) {
80 if (!available) {
78 __skipShowAnimation = false;
81 __skipShowAnimation = false;
79 return false;
82 return false;
@@ -86,9 +89,7 @@ Item {
88 if (showAnimation != undefined) {
91 if (showAnimation != undefined) {
89− if (!showAnimation.running) {
90− showAnimation.restart()
92+ showAnimation.restart()
92 if (__skipShowAnimation || shown) {
93 if (__skipShowAnimation || shown) {
93 showAnimation.complete();
94 showAnimation.complete();
@@ -107,6 +108,9 @@ Item {
107 property var prepareToHide: function(){}
108 property var prepareToHide: function(){}
109 function hide() {
110 function hide() {
111+ if (hideAnimation != undefined && hideAnimation.running)
110 if (showAnimation != undefined && showAnimation.running) {
114 if (showAnimation != undefined && showAnimation.running) {
111 showAnimation.stop()
115 showAnimation.stop()
@@ -119,9 +123,7 @@ Item {
121 if (hideAnimation != undefined) {
125 if (hideAnimation != undefined) {
122− if (!hideAnimation.running) {
123− hideAnimation.restart()
126+ hideAnimation.restart()
125 if (__skipHideAnimation || !shown) {
127 if (__skipHideAnimation || !shown) {
126 hideAnimation.complete();
128 hideAnimation.complete();