mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
set cursor correctly when right clicking on inset button
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26144 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
419642ad9e
commit
3d9f151e00
@ -492,13 +492,13 @@ void InsetCollapsable::doDispatch(Cursor & cur, FuncRequest & cmd)
|
|||||||
if (hitButton(cmd)) {
|
if (hitButton(cmd)) {
|
||||||
switch (cmd.button()) {
|
switch (cmd.button()) {
|
||||||
case mouse_button::button1:
|
case mouse_button::button1:
|
||||||
|
case mouse_button::button3:
|
||||||
// Pass the command to the enclosing InsetText,
|
// Pass the command to the enclosing InsetText,
|
||||||
// so that the cursor gets set.
|
// so that the cursor gets set.
|
||||||
cur.undispatched();
|
cur.undispatched();
|
||||||
break;
|
break;
|
||||||
case mouse_button::none:
|
case mouse_button::none:
|
||||||
case mouse_button::button2:
|
case mouse_button::button2:
|
||||||
case mouse_button::button3:
|
|
||||||
case mouse_button::button4:
|
case mouse_button::button4:
|
||||||
case mouse_button::button5:
|
case mouse_button::button5:
|
||||||
// Nothing to do.
|
// Nothing to do.
|
||||||
|
Loading…
Reference in New Issue
Block a user