mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 03:13:51 +02:00
Update chat window to not allow movement while docked
This commit is contained in:
parent
f698f3375a
commit
4ae148ff19
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue