]> git.lyx.org Git - features.git/commit
Do not use toobar menu as fallback context menu
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 5 Jul 2017 10:28:26 +0000 (12:28 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 5 Jul 2017 10:28:26 +0000 (12:28 +0200)
commitab81c23656b59aa14c41b8acc45f0f3e410ed785
tree2e6577cd3eb7f082e22089483101c1c26b465977
parentf0856a4ad03dd401cf36ecb13e71625d02c49f37
Do not use toobar menu as fallback context menu

This is a consequence of e91572a0, although it is not clear why. The
contextMenuEvent code of the workarea should not delegate context
menu when it cannot honor it.

Also fix a small memory leak.

Fixes bug #10616.
src/frontends/qt4/GuiView.cpp
src/frontends/qt4/GuiWorkArea.cpp