Fix ask lock when database can be saved

This commit is contained in:
J-Jamet
2022-04-19 15:47:21 +02:00
parent 2608ae247f
commit 6e4626bc02
4 changed files with 6 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
KeePassDX(3.4.3)
* Remove "Select share info" setting for Magikeyboard #1304
* Fix quick search and better loadGroup implementation #1302
* Fix small bugs
KeePassDX(3.4.2)
* Fix service parameter and workflow to remove notification when service is killed

View File

@@ -435,9 +435,7 @@ abstract class DatabaseLockActivity : DatabaseModeActivity(),
protected fun lockAndExit() {
// Ask confirmation if modification not saved
if (mDatabase?.isReadOnly == false
&& mDatabase?.dataModifiedSinceLastLoading == true
&& !PreferencesUtil.isAutoSaveDatabaseEnabled(this)) {
if (mDatabase?.dataModifiedSinceLastLoading == true) {
AlertDialog.Builder(this)
.setMessage(R.string.discard_changes)
.setNegativeButton(android.R.string.cancel, null)

View File

@@ -1,2 +1,3 @@
* Remove "Select share info" setting for Magikeyboard #1304
* Fix quick search and better loadGroup implementation #1302
* Fix quick search and better loadGroup implementation #1302
* Fix small bugs

View File

@@ -1,2 +1,3 @@
* Suppression de l'option "Selection de l'info partagée" pour le Magiclavier #1304
* Correction de la recherche rapide et meilleure implementation de loadGroup #1302
* Correction de la recherche rapide et meilleure implementation de loadGroup #1302
* Correction de petits bugs