double click on widgets only works now with left mouse button
This commit is contained in:
parent
5c4f390bd2
commit
d2baaa961e
3 changed files with 17 additions and 9 deletions
|
@ -93,5 +93,9 @@ void SnapmaticWidget::on_cmdDelete_clicked()
|
|||
void SnapmaticWidget::mouseDoubleClickEvent(QMouseEvent *ev)
|
||||
{
|
||||
QWidget::mouseDoubleClickEvent(ev);
|
||||
on_cmdView_clicked();
|
||||
|
||||
if (ev->button() == Qt::LeftButton)
|
||||
{
|
||||
on_cmdView_clicked();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue