# HG changeset patch # User Teemu Piippo # Date 1418600860 -7200 # Node ID 3cc042af3090437fdcb2c205ec79f950c0f0c5e8 # Parent 089e37c0887efcf6b1f5edb734e99a7b47451fa0 - added a help message to the statusbar diff -r 089e37c0887e -r 3cc042af3090 sources/interface.cpp --- a/sources/interface.cpp Mon Dec 15 01:41:06 2014 +0200 +++ b/sources/interface.cpp Mon Dec 15 01:47:40 2014 +0200 @@ -289,14 +289,14 @@ if (session == nullptr) { - text = "[DISCONNECTED]"; + text = ""; } else { switch (session->state()) { case RCON_DISCONNECTED: - text = "[DISCONNECTED]"; + text = "Disconnected."; break; case RCON_CONNECTING: @@ -320,6 +320,11 @@ } } + if (not text.is_empty()) + text += " | "; + + text += "^N to connect, ^Q to quit"; + if (text != g_statusBarText) { g_statusBarText = text;