File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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);
You can’t perform that action at this time.
0 commit comments