mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-13 00:09:54 -05:00
parent
19d4f7334c
commit
9a65ffe972
@ -470,7 +470,11 @@ bool DatabaseOpenWidget::browseKeyFile()
|
||||
if (filename.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
FileDialog::saveLastDir("keyfile", filename, true);
|
||||
if (config()->get(Config::RememberLastKeyFiles).toBool()) {
|
||||
FileDialog::saveLastDir("keyfile", filename, true);
|
||||
} else {
|
||||
FileDialog::saveLastDir("keyfile", {});
|
||||
}
|
||||
|
||||
if (QFileInfo(filename).canonicalFilePath() == QFileInfo(m_filename).canonicalFilePath()) {
|
||||
MessageBox::warning(this,
|
||||
|
Loading…
Reference in New Issue
Block a user