fix for progressindicator not being destroyed after export to png

This commit is contained in:
tamasmeszaros 2018-07-03 11:40:02 +02:00
parent ec571aec44
commit 10b19c8604
2 changed files with 2 additions and 2 deletions

View file

@ -378,10 +378,10 @@ void PrintController::slice_to_png()
} catch (std::exception& e) {
pri->cancel();
print_->progressindicator = pbak;
report_issue(IssueType::ERR, e.what(), _(L("Exception occured")));
}
print_->progressindicator = pbak;
scale_back();
}