mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix not updating of paragaph dialog in some cases (fix #229).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4031 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8f5b8ae18a
commit
0b0238d904
@ -1,3 +1,8 @@
|
||||
2002-04-19 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
|
||||
really leaving an inset.
|
||||
|
||||
2002-04-18 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* BufferView_pimpl.C (Dispatch): fixed to change layout also if one
|
||||
|
@ -1,3 +1,9 @@
|
||||
2002-04-19 Juergen Vigna <jug@sad.it>
|
||||
|
||||
* FormParagraph.C (changedParagraph): don't check for p == par_ as
|
||||
we don't set par_ on a changedParagraph call so we don't resete the
|
||||
buttons and message when we return to the original paragraph!
|
||||
|
||||
2002-04-17 Rob Lahaye <lahaye@users.sourceforge.net>
|
||||
|
||||
* forms/cvsignore: add Makefile.
|
||||
|
@ -77,7 +77,7 @@ void FormParagraph::changedParagraph()
|
||||
{
|
||||
/// Record the paragraph
|
||||
Paragraph const * const p = getCurrentParagraph();
|
||||
if (p == 0 || p == par_)
|
||||
if (p == 0) // this is wrong as we don't set par_ here! /* || p == par_) */
|
||||
return;
|
||||
|
||||
// For now, don't bother checking if the params are different.
|
||||
|
@ -1021,6 +1021,8 @@ string const LyXFunc::dispatch(kb_action action, string argument)
|
||||
true);
|
||||
}
|
||||
finishUndo();
|
||||
// Tell the paragraph dialog that we changed paragraph
|
||||
owner->getDialogs()->updateParagraph();
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user