Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/chat.cc')
-rw-r--r--src/client/chat.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/client/chat.cc b/src/client/chat.cc
index bdeebe2..87ba437 100644
--- a/src/client/chat.cc
+++ b/src/client/chat.cc
@@ -15,7 +15,7 @@
namespace client {
-Chat::Chat(ui::Widget *parent) : ui::Widget(parent)
+Chat::Chat(ui::Widget *parent) : ui::Window(parent)
{
set_label("chat");
history.clear();
@@ -42,10 +42,7 @@ Chat::~Chat()
void Chat::show()
{
- Widget::show();
-
- raise();
- set_focus();
+ Window::show();
history_pos = history.rbegin();
(*history_pos).clear();