mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 20:17:22 +01:00
do not use actionqueue for redraws
This commit is contained in:
parent
e5698c4c0c
commit
849ba51ce2
2 changed files with 12 additions and 2 deletions
|
|
@ -209,6 +209,12 @@ public class ServerConfigurationManager
|
|||
|
||||
internal void DeleteServer(ServerStorage selectedServer)
|
||||
{
|
||||
if (Array.IndexOf(_configService.Current.ServerStorage.ToArray(), selectedServer) <
|
||||
_configService.Current.CurrentServer)
|
||||
{
|
||||
_configService.Current.CurrentServer--;
|
||||
}
|
||||
|
||||
_configService.Current.ServerStorage.Remove(selectedServer);
|
||||
Save();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue