#include "iterators.h"
#include "frontends/Alert.h"
+#include "frontends/Dialogs.h"
#include "insets/insetcommand.h" //ChangeRefs
#include "insets/inseterror.h"
theLockingInset(0);
// make sure we update the combo !
owner()->setLayout(getLyXText()->cursor.par()->layout());
+ // Tell the paragraph dialog that we changed paragraph
+ owner()->getDialogs()->updateParagraph();
finishUndo();
return 0;
} else if (inset && theLockingInset() &&
theLockingInset()->unlockInsetInInset(this, inset)) {
+ // Tell the paragraph dialog that we changed paragraph
+ owner()->getDialogs()->updateParagraph();
// owner inset has updated the layout combo
finishUndo();
return 0;
2002-04-12 Juergen Vigna <jug@sad.it>
+ * BufferView2.C (unlockInset): update the paragraph layout on inset
+ unlock as we changed paragraph in such a case.
+
* lyxfind.C (LyXFind): clear the former selection if not found!
* text2.C (insertInset): freeze Undo after setUndo so that it is not