ganeswidgets/src/HgScrollBufferManager.cpp
changeset 3 c863538fcbb6
parent 2 49c70dcc3f17
child 9 dde80bf4a8c7
--- a/ganeswidgets/src/HgScrollBufferManager.cpp	Fri May 14 16:57:01 2010 +0300
+++ b/ganeswidgets/src/HgScrollBufferManager.cpp	Thu May 27 13:59:05 2010 +0300
@@ -152,6 +152,8 @@
 
 void HgScrollBufferManager::timeout()
 {
+    mFirstTime = false;
+    
     if(mResetOrdered)
         {
         mResetOrdered = EFalse;
@@ -207,9 +209,8 @@
 void HgScrollBufferManager::asyncUpdate()
 {
     if (!mTimer.isActive() && mFirstTime) {
-        mFirstTime = false;
         mTimer.start(0);
-    } else {
+    } else if (!mTimer.isActive()){
         timeout();
     }
 }