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
No known key found for this signature in database
GPG Key ID: CFEC2F6850BFFA53

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