mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
Fix bug #6614: Preview Other Format Button Greys Out After Preview.
getStatus() returns false for LFUN_BUFFER_VIEW when a previewing process is running. So, if this process has finished we should free the menu item. P.S. on windows, the item does not get disabled anyway. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34324 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
25a41486d6
commit
6c4de0377c
@ -463,6 +463,7 @@ void GuiView::threadFinished()
|
|||||||
QFutureWatcher<docstring> const * watcher =
|
QFutureWatcher<docstring> const * watcher =
|
||||||
static_cast<QFutureWatcher<docstring> const *>(sender());
|
static_cast<QFutureWatcher<docstring> const *>(sender());
|
||||||
message(watcher->result());
|
message(watcher->result());
|
||||||
|
updateToolbars();
|
||||||
errors(d.last_export_format);
|
errors(d.last_export_format);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user