Bring unlock database dialog to the front

This commit is contained in:
Weslly
2017-06-25 12:21:32 -03:00
committed by Janek Bevendorff
parent caa49a8ef3
commit b553af8fd0

View File

@@ -26,6 +26,7 @@ UnlockDatabaseDialog::UnlockDatabaseDialog(QWidget* parent)
: QDialog(parent)
, m_view(new UnlockDatabaseWidget(this))
{
setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint);
connect(m_view, SIGNAL(editFinished(bool)), this, SLOT(complete(bool)));
}