Bring unlock database dialog to the front

This commit is contained in:
Weslly 2017-06-25 12:21:32 -03:00
parent fdbed324f7
commit e708ef96d1

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