Fix synchronization of conents with page.

This commit is contained in:
Jim Evins
2016-05-21 11:55:01 -04:00
parent 7b9f377b1a
commit bcc4489ab9
+2 -2
View File
@@ -1,6 +1,6 @@
/* MainWindow.cpp
*
* Copyright (C) 2014 Jim Evins <evins@snaught.com>
* Copyright (C) 2014-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -174,7 +174,7 @@ void MainWindow::setModel( LabelModel *label )
mMergeView->setModel( mModel , mUndoRedoModel );
mPrintView->setModel( mModel );
mEditorButton->setSelected( true );
mContents->setCurrentItem( mEditorButton );
mPages->setCurrentIndex(mContents->row(mEditorButton));
setDocVerbsEnabled( true );