gui: raise chat dialog when clicking the action in menu
Change-Id: I5fd80b62c00485596c0dc5c5d93348014becf4f8
diff --git a/src/controller.cpp b/src/controller.cpp
index 9904a64..646dfc1 100644
--- a/src/controller.cpp
+++ b/src/controller.cpp
@@ -484,7 +484,7 @@
QAction* chatAction = new QAction(chatroomName, this);
m_chatActionList[chatroomName.toStdString()] = chatAction;
- connect(chatAction, SIGNAL(triggered()), chatDialog, SLOT(showNormal()));
+ connect(chatAction, SIGNAL(triggered()), chatDialog, SLOT(raise()));
QAction* closeAction = new QAction(chatroomName, this);
m_closeActionList[chatroomName.toStdString()] = closeAction;