Skip to content

Commit

Permalink
remove ctrl+z shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti authored and nyalldawson committed Sep 12, 2021
1 parent a4a50d2 commit 3da93c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsadvanceddigitizingdockwidget.cpp
Expand Up @@ -1218,8 +1218,8 @@ bool QgsAdvancedDigitizingDockWidget::filterKeyPress( QKeyEvent *e )
}
case Qt::Key_Z:
{
// modifier+y ONLY caught for ShortcutOverride events...
if ( type == QEvent::ShortcutOverride && ( e->modifiers() == Qt::AltModifier || e->modifiers() == Qt::ControlModifier ) )
// modifier+z ONLY caught for ShortcutOverride events...
if ( type == QEvent::ShortcutOverride && e->modifiers() == Qt::AltModifier )
{
mZConstraint->toggleLocked();
emit lockZChanged( mZConstraint->isLocked() );
Expand Down

0 comments on commit 3da93c6

Please sign in to comment.