revert accidental commit: not exactly whitespace.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7493 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-08-04 09:48:23 +00:00
parent e94eb6bed6
commit 6a7180b771
2 changed files with 5 additions and 3 deletions

View File

@ -10,7 +10,7 @@
* lyxfunc.C: * lyxfunc.C:
* text.C: * text.C:
* text2.C: * text2.C:
* text3.C: replace "complicate" BufferView::update(...) calls with * text3.C: replace "complicated" BufferView::update(...) calls with
simpler ones. simpler ones.
2003-08-02 Kayvan Sylvan <kayvan@sylvan.com> 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>

View File

@ -1199,8 +1199,10 @@ void LyXText::updateCounters()
string const & newLabel = pit->params().labelString(); string const & newLabel = pit->params().labelString();
if (oldLabel != newLabel) if (oldLabel.empty() && !newLabel.empty()) {
redoParagraph(pit); removeParagraph(rowit);
appendParagraph(rowit);
}
} }
} }