OpenDb: Fix opening remote database when local DB was open

The OpenDB dialog did not show up and the previous sqlite
database was opened again.

Start the dialog without current Database preset to always show it.
This commit is contained in:
Christian Hohnstaedt 2021-02-10 21:39:29 +01:00 committed by Christian Hohnstädt
parent 496fb5e0bc
commit 25347fa28a

View File

@ -529,7 +529,7 @@ void MainWindow::importMulti(pki_multi *multi, int force)
void MainWindow::openRemoteSqlDB()
{
OpenDb *opendb = new OpenDb(this, Database.name());
OpenDb *opendb = new OpenDb(this, QString());
QString descriptor;
Passwd pass;
DbMap params;