Skip to content

Commit fd8c4d0

Browse files
committed
Minor
1 parent ee9b7f1 commit fd8c4d0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/WidgetImageView.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,7 @@ void WidgetImageView::keyPressEvent(QKeyEvent *event)
727727
break;
728728
case Qt::Key_Period:
729729
m_drawAllTransistors = !m_drawAllTransistors; break;
730+
break;
730731
case Qt::Key_L:
731732
m_drawLatches = !m_drawLatches;
732733
m_ov->setButton(3, m_drawLatches);
@@ -739,7 +740,7 @@ void WidgetImageView::keyPressEvent(QKeyEvent *event)
739740
case Qt::Key_PageUp: setZoom(m_scale * 1.2); break;
740741
case Qt::Key_PageDown: setZoom(m_scale / 1.2); break;
741742
// Send all other unhandled keys to the script for user custom handling
742-
// init.js file should define key(code,shift,ctrl) function handler
743+
// init.js file should define key(code,ctrl) function handler
743744
default:
744745
bool verbose = QGuiApplication::keyboardModifiers().testFlag(Qt::AltModifier);
745746
QString cmd = QString("key(%1,%2)").arg(event->key()).arg(ctrl);

0 commit comments

Comments
 (0)