]> git.lyx.org Git - lyx.git/commitdiff
Don't start a running timer.
authorAngus Leeming <leeming@lyx.org>
Tue, 25 Feb 2003 11:33:00 +0000 (11:33 +0000)
committerAngus Leeming <leeming@lyx.org>
Tue, 25 Feb 2003 11:33:00 +0000 (11:33 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6237 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/ChangeLog
src/support/forkedcontr.C

index 9524e9457442a52aa220688441f616cbd083a21a..cbedf2c0d443afa2f7998c2023324bfb6cf002a6 100644 (file)
@@ -1,3 +1,6 @@
+2003-02-25  Alfredo Braunstein <abraunst@libero.it>
+
+       * forkedcontr.C (timer): don't start a running timer.
 
 2003-02-21  André Pönitz <poenitz@gmx.net>
 
index 40ec73d34e5d3a717405f1fac3d2b8b907af5304..f34fc3b75fd49fe695d936e3f81190ec003aa1ff 100644 (file)
@@ -142,7 +142,7 @@ void ForkedcallsController::timer()
                }
        }
 
-       if (!forkedCalls.empty()) {
+       if (!forkedCalls.empty() && !timeout_->running()) {
                timeout_->start();
        }