Merge git://gitorious.org/~blueice/keepassx/blueices-keepassx into merge-request

This commit is contained in:
Felix Geyer 2011-12-26 19:21:08 +01:00
commit fb6ab63d6b

View File

@ -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*)));
}