coding style: fix crash on buffer-switching (2 tabs) + toc-clicking

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16770 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2007-01-19 22:17:01 +00:00
parent 2d0838650c
commit e2d14f9023

View File

@ -103,7 +103,7 @@ QModelIndex const QToc::getCurrentIndex()
void QToc::goTo(QModelIndex const & index)
{
if (!index.isValid() || index.model()!=tocModel()) {
if (!index.isValid() || index.model() != tocModel()) {
lyxerr[Debug::GUI]
<< "QToc::goTo(): QModelIndex is invalid!"
<< endl;