Server: restore defaults on clearConversations()

This commit is contained in:
Sebastian Kaspari 2010-03-13 20:18:24 +01:00
parent ee60c3c386
commit 58bd63debd
1 changed files with 4 additions and 0 deletions

View File

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