mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 10:56:00 +00:00
Fix goto reference.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_1_6@1347 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
771c6ec3bd
commit
a62b293127
@ -199,7 +199,7 @@ bool FormRef::input(FL_OBJECT *, long data)
|
|||||||
{
|
{
|
||||||
lv_->getLyXFunc()->
|
lv_->getLyXFunc()->
|
||||||
Dispatch(LFUN_REF_GOTO,
|
Dispatch(LFUN_REF_GOTO,
|
||||||
params.getContents());
|
fl_get_input(dialog_->ref));
|
||||||
fl_set_object_label(dialog_->button_go, _("Go back"));
|
fl_set_object_label(dialog_->button_go, _("Go back"));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -348,7 +348,8 @@ bool LyXText::IsBoundary(Buffer const * buf, LyXParagraph * par,
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!bidi_InRange(pos - 1)) {
|
if (!bidi_InRange(pos - 1)) {
|
||||||
lyxerr << "LyXText::IsBoundary This shouldn't happen." << endl;
|
/// This can happen if pos is the first char of a row.
|
||||||
|
/// Returning false in this case is incorrect!
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user