mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-13 08:19:50 -05:00
parent
19d4f7334c
commit
9a65ffe972
@ -470,7 +470,11 @@ bool DatabaseOpenWidget::browseKeyFile()
|
|||||||
if (filename.isEmpty()) {
|
if (filename.isEmpty()) {
|
||||||
return false;
|
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()) {
|
if (QFileInfo(filename).canonicalFilePath() == QFileInfo(m_filename).canonicalFilePath()) {
|
||||||
MessageBox::warning(this,
|
MessageBox::warning(this,
|
||||||
|
Loading…
Reference in New Issue
Block a user