Skip to content

Commit

Permalink
fix: popup panel cannot be opened when clicking the labels
Browse files Browse the repository at this point in the history
  • Loading branch information
zsien committed Feb 2, 2024
1 parent 48cced0 commit 62dca50
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugins/bluetooth/bluetoothmainwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,12 @@ bool BluetoothMainWidget::eventFilter(QObject *watcher, QEvent *event)
default:
break;
}

return QWidget::eventFilter(watcher, event);
}
if (watcher == m_expandLabel && event->type() == QEvent::MouseButtonRelease) {
// else watcher != m_iconWidget

if (event->type() == QEvent::MouseButtonRelease) {
Q_EMIT requestExpand();
return true;
}
Expand Down

0 comments on commit 62dca50

Please sign in to comment.