From 4ae148ff19d141199648595685593897d67f3f71 Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Mon, 14 Apr 2014 11:34:35 -0700 Subject: [PATCH] Update chat window to not allow movement while docked --- interface/src/ui/ChatWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/ui/ChatWindow.cpp b/interface/src/ui/ChatWindow.cpp index 38e9553723..97fa81afc5 100644 --- a/interface/src/ui/ChatWindow.cpp +++ b/interface/src/ui/ChatWindow.cpp @@ -90,7 +90,7 @@ ChatWindow::~ChatWindow() { } void ChatWindow::mousePressEvent(QMouseEvent *e) { - if (e->button() == Qt::LeftButton) { + if (e->button() == Qt::LeftButton && isFloating()) { _mousePressed = true; _mouseStartPosition = e->pos(); }