mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 07:30:15 -04:00
Fix multiple messenger instance registrations in entry view models
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest">
|
||||
<Identity Name="wismna.ModernKeePass" Publisher="CN=0719A91A-C322-4EE0-A257-E60733EECF06" Version="1.20.0.12" />
|
||||
<Identity Name="wismna.ModernKeePass" Publisher="CN=0719A91A-C322-4EE0-A257-E60733EECF06" Version="1.21.0.12" />
|
||||
<Properties>
|
||||
<DisplayName>ModernKeePass</DisplayName>
|
||||
<PublisherDisplayName>wismna</PublisherDisplayName>
|
||||
|
@@ -445,5 +445,11 @@ namespace ModernKeePass.ViewModels
|
||||
};
|
||||
RaisePropertyChanged(string.Empty);
|
||||
}
|
||||
|
||||
public override void Cleanup()
|
||||
{
|
||||
MessengerInstance.Unregister(this);
|
||||
base.Cleanup();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -34,6 +34,7 @@ namespace ModernKeePass.Views
|
||||
protected override async void OnNavigatedFrom(NavigationEventArgs e)
|
||||
{
|
||||
await Model.AddHistory();
|
||||
Model.Cleanup();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
@@ -1,2 +1 @@
|
||||
(Re-)Added a breadcrumb to help with navigation
|
||||
Design improvements
|
||||
Fixed a duplication issue with additional fields
|
@@ -1,2 +1 @@
|
||||
(R)Ajout du fil d'Ariane pour aider a la navigation
|
||||
Ameliorations de design
|
||||
Correction d'un probleme de duplication des champs additionnels
|
Reference in New Issue
Block a user