mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Solve field reference issues #61 (Was fix in part by refactoring)
This commit is contained in:
@@ -147,6 +147,7 @@ public class EntryActivity extends LockingHideActivity {
|
||||
fillData();
|
||||
invalidateOptionsMenu();
|
||||
|
||||
// Start to manage field reference to copy a value from ref
|
||||
mEntry.startToManageFieldReferences(App.getDB().getPwDatabase());
|
||||
|
||||
// If notifications enabled in settings
|
||||
|
||||
@@ -317,7 +317,8 @@ public class EntryEditActivity extends LockingHideActivity
|
||||
ImageButton currIconButton = findViewById(R.id.icon_button);
|
||||
App.getDB().getDrawFactory().assignDrawableTo(currIconButton, getResources(), mEntry.getIcon());
|
||||
|
||||
mEntry.startToManageFieldReferences(App.getDB().getPwDatabase());
|
||||
// Don't start the field reference manager, we want to see the raw ref
|
||||
mEntry.endToManageFieldReferences();
|
||||
|
||||
entryTitleView.setText(mEntry.getTitle());
|
||||
entryUserNameView.setText(mEntry.getUsername());
|
||||
@@ -344,8 +345,6 @@ public class EntryEditActivity extends LockingHideActivity
|
||||
container.addView(entryEditNewField);
|
||||
});
|
||||
}
|
||||
|
||||
mEntry.endToManageFieldReferences();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user