mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 08:44:01 +00:00
Fix #10887 compiler warnings.
This commit is contained in:
parent
8a1377f6ff
commit
05c876568a
@ -751,7 +751,7 @@ void GuiWorkArea::contextMenuEvent(QContextMenuEvent * e)
|
||||
if (inset && inset->asInsetMath())
|
||||
--pos.rx();
|
||||
else if (cur.pos() > 0) {
|
||||
Inset * inset = cur.paragraph().getInset(cur.pos() - 1);
|
||||
inset = cur.paragraph().getInset(cur.pos() - 1);
|
||||
if (inset)
|
||||
++pos.rx();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user