Client aus Registry entfernt
This commit is contained in:
@@ -145,17 +145,6 @@ namespace DaSaSo.ViewModel
|
||||
|
||||
private async void LadeRegistry()
|
||||
{
|
||||
int clientid = Convert.ToInt32((string)registry.GetValue("lastclient", "-1"));
|
||||
if (clientid == -1)
|
||||
return;
|
||||
Client lastClient = await _clientDataService.Get(clientid);
|
||||
if (lastClient == null)
|
||||
{
|
||||
SaveInRegistry("lastclient", "-1");
|
||||
return;
|
||||
}
|
||||
_actualProject.SetClient(lastClient);
|
||||
|
||||
int projectid = Convert.ToInt32((string)registry.GetValue("lastproject", "-1"));
|
||||
if (projectid == -1)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user