1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-12-25 00:48:50 -05:00

Server: restore defaults on clearConversations()

This commit is contained in:
Sebastian Kaspari 2010-03-13 20:18:24 +01:00
parent ee60c3c386
commit 58bd63debd

View File

@ -258,6 +258,10 @@ public class Server
public void clearConversations() public void clearConversations()
{ {
conversations.clear(); conversations.clear();
// reset defaults
conversations.put(ServerInfo.DEFAULT_NAME, new ServerInfo());
this.selected = ServerInfo.DEFAULT_NAME;
} }
/** /**