Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Geyer <debfx@fobos.de>2011-12-26 22:21:08 +0400
committerFelix Geyer <debfx@fobos.de>2011-12-26 22:21:08 +0400
commitfb6ab63d6b5446ef86028fb1dbf33aad1838e41f (patch)
treeed9fe237f2d27784361fe5be07ccf2f1e8aacede /src
parent4da6da882899cceb610240c25573a152d08776b7 (diff)
parentcef8032a74dad3f2740b2c92b22155f482dafb26 (diff)
Merge git://gitorious.org/~blueice/keepassx/blueices-keepassx into merge-request
Diffstat (limited to 'src')
-rw-r--r--src/gui/DatabaseManager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/DatabaseManager.cpp b/src/gui/DatabaseManager.cpp
index 495adfab6..36ecdf0e8 100644
--- a/src/gui/DatabaseManager.cpp
+++ b/src/gui/DatabaseManager.cpp
@@ -265,6 +265,8 @@ void DatabaseManager::insertDatabase(Database* db, const DatabaseManagerStruct&
m_tabWidget->addTab(dbStruct.dbWidget, "");
updateTabName(db);
+ int index = databaseIndex(db);
+ m_tabWidget->setCurrentIndex(index);
connect(db->metadata(), SIGNAL(nameTextChanged(Database*)), SLOT(updateTabName(Database*)));
}