mirror of
https://github.com/claunia/romrepomgr.git
synced 2025-12-16 19:24:51 +00:00
Remove database singleton.
This commit is contained in:
@@ -321,10 +321,7 @@ namespace RomRepoMgr.ViewModels
|
||||
void ExecuteSaveCommand()
|
||||
{
|
||||
if(_databaseChanged)
|
||||
{
|
||||
Settings.Settings.Current.DatabasePath = DatabasePath;
|
||||
Context.ReplaceSingleton(DatabasePath);
|
||||
}
|
||||
|
||||
if(_repositoryChanged)
|
||||
Settings.Settings.Current.RepositoryPath = RepositoryPath;
|
||||
|
||||
Reference in New Issue
Block a user