mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
be sure processFinished() is only called once.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32647 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
94ab8c8f74
commit
0f8003c25a
@ -415,8 +415,10 @@ void SystemcallPrivate::processStarted()
|
|||||||
|
|
||||||
void SystemcallPrivate::processFinished(int, QProcess::ExitStatus)
|
void SystemcallPrivate::processFinished(int, QProcess::ExitStatus)
|
||||||
{
|
{
|
||||||
state = Finished;
|
if (state != Finished) {
|
||||||
ProgressInterface::instance()->processFinished(cmd_);
|
state = Finished;
|
||||||
|
ProgressInterface::instance()->processFinished(cmd_);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user