mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
Generalize check to generic non-editable insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38257 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f9f7c4a4bd
commit
13dd04602a
@ -172,8 +172,8 @@ bool GuiErrorList::goTo(int item)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Don't try to highlight the content of info insets
|
// Don't try to highlight the content of non-editable insets
|
||||||
while (dit.inset().lyxCode() == INFO_CODE)
|
while (!dit.inset().editable())
|
||||||
dit.backwardPos();
|
dit.backwardPos();
|
||||||
|
|
||||||
// Now make the selection.
|
// Now make the selection.
|
||||||
|
Loading…
Reference in New Issue
Block a user