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 authored and 18202781743 committed Feb 2, 2024
1 parent 72f4286 commit ac8e5cd
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 ac8e5cd

Please sign in to comment.