]> git.lyx.org Git - features.git/commit
Fix bug #6614: Preview Other Format Button Greys Out After Preview.
authorVincent van Ravesteijn <vfr@lyx.org>
Wed, 28 Apr 2010 04:51:05 +0000 (04:51 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Wed, 28 Apr 2010 04:51:05 +0000 (04:51 +0000)
commit6c4de0377c5f9058e9e6b0e05a3b0593e167a68b
treeacf0aef1931d9aed18cba309ef2c1e7ea77b0b12
parent25a41486d60e3eb808d15da39c5e9d875e8f3474
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
src/frontends/qt4/GuiView.cpp