From 369ff5c5e020e51f3303fd273c881c612fc0d049 Mon Sep 17 00:00:00 2001 From: Arnaud Bienner Date: Tue, 28 Aug 2012 18:17:57 +0200 Subject: [PATCH] Set default current tab to 'Libray' instead of the first one, which is now 'Search' --- src/ui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp index 893b03804..6ea3ba634 100644 --- a/src/ui/mainwindow.cpp +++ b/src/ui/mainwindow.cpp @@ -693,7 +693,7 @@ MainWindow::MainWindow(Application* app, if (!ui_->splitter->restoreState(settings_.value("splitter_state").toByteArray())) { ui_->splitter->setSizes(QList() << 300 << width() - 300); } - ui_->tabs->SetCurrentIndex(settings_.value("current_tab", 0).toInt()); + ui_->tabs->SetCurrentIndex(settings_.value("current_tab", 1 /* Library tab */ ).toInt()); FancyTabWidget::Mode default_mode = FancyTabWidget::Mode_LargeSidebar; ui_->tabs->SetMode(FancyTabWidget::Mode(settings_.value( "tab_mode", default_mode).toInt()));