Fix synchronization of conents with page.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/* MainWindow.cpp
|
/* 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.
|
* This file is part of gLabels-qt.
|
||||||
*
|
*
|
||||||
@@ -174,7 +174,7 @@ void MainWindow::setModel( LabelModel *label )
|
|||||||
mMergeView->setModel( mModel , mUndoRedoModel );
|
mMergeView->setModel( mModel , mUndoRedoModel );
|
||||||
mPrintView->setModel( mModel );
|
mPrintView->setModel( mModel );
|
||||||
|
|
||||||
mEditorButton->setSelected( true );
|
mContents->setCurrentItem( mEditorButton );
|
||||||
mPages->setCurrentIndex(mContents->row(mEditorButton));
|
mPages->setCurrentIndex(mContents->row(mEditorButton));
|
||||||
|
|
||||||
setDocVerbsEnabled( true );
|
setDocVerbsEnabled( true );
|
||||||
|
|||||||
Reference in New Issue
Block a user