summaryrefslogtreecommitdiff
path: root/src/gui/chatwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/chatwindow.cpp')
-rw-r--r--src/gui/chatwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp
index 88c9936fe..c375b6748 100644
--- a/src/gui/chatwindow.cpp
+++ b/src/gui/chatwindow.cpp
@@ -575,7 +575,7 @@ void ChatWindow::action(const gcn::ActionEvent &event)
bool ChatWindow::requestChatFocus()
{
// Make sure chatWindow is visible
- if (!isVisible())
+ if (!isWindowVisible())
{
setVisible(true);
@@ -721,7 +721,7 @@ void ChatWindow::doPresent() const
void ChatWindow::scroll(const int amount) const
{
- if (!isVisible())
+ if (!isWindowVisible())
return;
ChatTab *const tab = getFocused();