]> sigrok.org Git - pulseview.git/blobdiff - pv/widgets/wellarray.cpp
Update property widgets before showing device config popup
[pulseview.git] / pv / widgets / wellarray.cpp
index 4e3382ba9153c90a2bcc962f03bdd7872e22a39a..04a7ccec9723c999cea7b23bae94db1a25c03eee 100644 (file)
@@ -39,8 +39,8 @@
 **
 ****************************************************************************/
 
-#include <QPainter>
 #include <QPaintEvent>
+#include <QPainter>
 #include <QStyle>
 #include <QStyleOptionFrame>
 
@@ -220,7 +220,7 @@ void WellArray::setSelected(int row, int col)
     updateCell(oldRow, oldCol);
     updateCell(selRow, selCol);
     if (row >= 0)
-        Q_EMIT selected(row, col);
+        selected(row, col);
 }
 
 void WellArray::focusInEvent(QFocusEvent*)