Little correction for commit #ad8ddc8

This commit is contained in:
Abs62 2012-09-26 18:12:18 +04:00
parent ad8ddc8daf
commit f0c9e51ce3

View file

@ -1052,6 +1052,8 @@ ArticleView * MainWindow::createNewTab( bool switchToIt,
connect( view, SIGNAL( setExpandMode( bool ) ), this, SLOT( setExpandMode( bool ) ) );
view->setSelectionBySingleClick( cfg.preferences.selectWordBySingleClick );
int index = cfg.preferences.newTabsOpenAfterCurrentOne ?
ui.tabWidget->currentIndex() + 1 : ui.tabWidget->count();