mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-25 07:45:22 -04:00
parent
d7c054e9b2
commit
3e9fba7283
1 changed files with 5 additions and 1 deletions
|
@ -496,7 +496,11 @@ bool DatabaseOpenWidget::browseKeyFile()
|
||||||
if (filename.isEmpty()) {
|
if (filename.isEmpty()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (config()->get(Config::RememberLastKeyFiles).toBool()) {
|
||||||
FileDialog::saveLastDir("keyfile", filename, true);
|
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…
Add table
Add a link
Reference in a new issue