mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Show export message also for non-threaded export
This commit is contained in:
parent
f7418758ab
commit
5ea48e077b
@ -117,6 +117,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// sync with GuiAlert.cpp
|
||||||
#define EXPORT_in_THREAD 1
|
#define EXPORT_in_THREAD 1
|
||||||
|
|
||||||
|
|
||||||
@ -3261,11 +3262,11 @@ bool GuiView::GuiViewPrivate::asyncBufferProcessing(
|
|||||||
if (format.empty())
|
if (format.empty())
|
||||||
format = used_buffer->params().getDefaultOutputFormat();
|
format = used_buffer->params().getDefaultOutputFormat();
|
||||||
processing_format = format;
|
processing_format = format;
|
||||||
#if EXPORT_in_THREAD
|
|
||||||
if (!msg.empty()) {
|
if (!msg.empty()) {
|
||||||
progress_->clearMessages();
|
progress_->clearMessages();
|
||||||
gv_->message(msg);
|
gv_->message(msg);
|
||||||
}
|
}
|
||||||
|
#if EXPORT_in_THREAD
|
||||||
GuiViewPrivate::busyBuffers.insert(used_buffer);
|
GuiViewPrivate::busyBuffers.insert(used_buffer);
|
||||||
Buffer * cloned_buffer = used_buffer->cloneFromMaster();
|
Buffer * cloned_buffer = used_buffer->cloneFromMaster();
|
||||||
if (!cloned_buffer) {
|
if (!cloned_buffer) {
|
||||||
|
Loading…
Reference in New Issue
Block a user