mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Nobody noticed that right click on math insets did not pop up the panel
anymore? git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3959 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
37fc546ec8
commit
33024d85e3
@ -269,14 +269,21 @@ void InsetFormulaBase::updateLocal(BufferView * bv, bool dirty)
|
||||
|
||||
|
||||
bool InsetFormulaBase::insetButtonRelease(BufferView * bv,
|
||||
int /*x*/, int /*y*/, int /*button*/)
|
||||
int /*x*/, int /*y*/, int button)
|
||||
{
|
||||
//lyxerr << "insetButtonRelease: " << x << " " << y << "\n";
|
||||
|
||||
if (!mathcursor)
|
||||
return false;
|
||||
hideInsetCursor(bv);
|
||||
showInsetCursor(bv);
|
||||
bv->updateInset(this, false);
|
||||
|
||||
if (button == 3) {
|
||||
// launch math panel for right mouse button
|
||||
bv->owner()->getDialogs()->showMathPanel();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user