Force focus on password field, resolves #116 (#117)

Also remove redudant code for minimizing to tray
This commit is contained in:
Janek Bevendorff 2016-11-26 15:37:25 +01:00 committed by Jonathan White
parent 405b82588b
commit 9261d8ae9d
5 changed files with 12 additions and 15 deletions

View file

@ -58,6 +58,12 @@ DatabaseOpenWidget::~DatabaseOpenWidget()
{
}
void DatabaseOpenWidget::showEvent(QShowEvent* event)
{
DialogyWidget::showEvent(event);
m_ui->editPassword->setFocus();
}
void DatabaseOpenWidget::load(const QString& filename)
{
m_filename = filename;