]> 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>
Sat, 15 Jul 2017 14:21:41 +0000 (16:21 +0200)
commite5105a0dce2de52a25343dc6a74c4fd885d05e96
tree0cdf69b80c00e1c3470ad81612524226f5455e90
parent476705ba7600dca175dd53a2593bd3497a613786
Do not use toobar menu as fallback context menu

This is a consequence of 060a9664, 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.

(cherry picked from commit ab81c23656b59aa14c41b8acc45f0f3e410ed785)
src/frontends/qt4/GuiView.cpp
src/frontends/qt4/GuiWorkArea.cpp
status.22x