Removed ui_xmlconsole_exists

This commit is contained in:
James Booth
2015-11-01 19:26:31 +00:00
parent be90e44d4a
commit 486d2e0495
4 changed files with 27 additions and 41 deletions

View File

@@ -4397,10 +4397,11 @@ cmd_vercheck(ProfWin *window, const char *const command, gchar **args)
gboolean
cmd_xmlconsole(ProfWin *window, const char *const command, gchar **args)
{
if (!ui_xmlconsole_exists()) {
ui_create_xmlconsole_win();
} else {
ProfXMLWin *xmlwin = wins_get_xmlconsole();
if (xmlwin) {
ui_open_xmlconsole_win();
} else {
ui_create_xmlconsole_win();
}
return TRUE;