Update dialog.cpp

no need to use to password manager.setdatabasename unless you have more than one sources for db