>>>>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:

Georg> Jean-Marc Lasgouttes wrote:
>> I do not like much the new setLayoutWithoutUndo and would have
>> preferred an optional bool argument to setLayout or maybe even the
>> removal of the undo step from setLayout: I suspect that there are
>> other cases where we want to avoid undo (when we switch classes?)
>> and it is not difficult to do undo by hand.

Georg> Good point. It turned out that setLayout was only called once
Georg> (from the other LyXText::setLayout method), so I moved the undo
Georg> stuff there.

Georg> OK to commit?

Yes.

JMarc

Reply via email to