Update chat window to not allow movement while docked

This commit is contained in:
Ryan Huffman 2014-04-14 11:34:35 -07:00
parent f698f3375a
commit 4ae148ff19

View file

@ -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();
}