mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +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;
|
||||
}
|
||||
|
||||
// Don't try to highlight the content of info insets
|
||||
while (dit.inset().lyxCode() == INFO_CODE)
|
||||
// Don't try to highlight the content of non-editable insets
|
||||
while (!dit.inset().editable())
|
||||
dit.backwardPos();
|
||||
|
||||
// Now make the selection.
|
||||
|
Loading…
Reference in New Issue
Block a user