mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
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:
parent
2d0838650c
commit
e2d14f9023
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user