Clear progress bar when opening in external editor

The last step remained visible in the progress bar when invoking the external editor.

Fixes #5475
This commit is contained in:
Morgan Hardwood
2019-12-16 23:47:54 +01:00
parent 4a25633bd7
commit 9a0cae0357

View File

@@ -2067,6 +2067,7 @@ bool EditorPanel::idle_sentToGimp (ProgressConnector<int> *pc, rtengine::IImagef
{
img->free ();
int errore = pc->returnValue();
setProgressState(false);
delete pc;
if (!errore) {