X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fwidgets%2Fwellarray.cpp;h=a5979db7183d79696a659483157beb1a84076705;hp=6776e34f6b110dc7c2f457b528f6573cd08e387d;hb=7cc05d0295b41755e38ecad57860582ea9c13e86;hpb=0c0e1888d11fd2135e439f82993b56b2323703ec diff --git a/pv/widgets/wellarray.cpp b/pv/widgets/wellarray.cpp index 6776e34f..a5979db7 100644 --- a/pv/widgets/wellarray.cpp +++ b/pv/widgets/wellarray.cpp @@ -286,17 +286,6 @@ void QWellArray::keyPressEvent(QKeyEvent* e) if(curRow < numRows()-1) setCurrent(curRow + 1, curCol); break; -#if 0 - // bad idea that shouldn't have been implemented; very counterintuitive - case Qt::Key_Return: - case Qt::Key_Enter: - /* - ignore the key, so that the dialog get it, but still select - the current row/col - */ - e->ignore(); - // fallthrough intended -#endif case Qt::Key_Space: setSelected(curRow, curCol); break;