mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +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)
|
||||
{
|
||||
state = Finished;
|
||||
ProgressInterface::instance()->processFinished(cmd_);
|
||||
if (state != Finished) {
|
||||
state = Finished;
|
||||
ProgressInterface::instance()->processFinished(cmd_);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user