]> git.lyx.org Git - features.git/commit
Fix a few quirks and a crash introduced by a bad manual merge of local tree at revisi...
authorAbdelrazak Younes <younes@lyx.org>
Tue, 19 Jun 2007 17:04:09 +0000 (17:04 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 19 Jun 2007 17:04:09 +0000 (17:04 +0000)
commit3cf838c4d17bc9aae62a464025881465db1fb119
treeb433273a8eafea0116c8144d0d7b6eb83cd388ba
parent144e721b65069a8449ee32a87c7e0514e4e0a725
Fix a few quirks and a crash introduced by a bad manual merge of local tree at revision 18828. Sorry.

* LyXView::setBuffer(): update labels and toc only if we change parents.
* LyXView::loadLyXFile():
  - update labels in _any_ case and before setting the Buffer.
  - update GUI controls in case we move to a saved position.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18829 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/LyXView.cpp