]> git.lyx.org Git - features.git/commit
Fix bug #6950: Cursor remains in waiting state after incompatible command.
authorVincent van Ravesteijn <vfr@lyx.org>
Tue, 19 Oct 2010 10:42:54 +0000 (10:42 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Tue, 19 Oct 2010 10:42:54 +0000 (10:42 +0000)
commit4968c322930fbc5d5ae6e58cc3cb6a22a5515884
tree90440a789690bd52ea8d7128a5bf05ee700fbf14
parent72939019a97556edeae2ed52faaa22db665cdf09
Fix bug #6950: Cursor remains in waiting state after incompatible command.

P.S. How do we prevent other cases like this? By throwing exceptions, we never know whether it's assured that we will return to the function to call setBusy(false). In JAVA you always have to either make a function throwable or to catch the exception, but AFAICS you have to crawl through the code to find out whether a function can throw an exception.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35714 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/GuiView.cpp