Gui/Sketcher: disable geometry deselection when user holds Ctrl or additionally Shift or Alt
This commit is contained in:
@@ -891,8 +891,9 @@ bool ViewProviderSketch::mouseButtonPressed(int Button, bool pressed, const SbVe
|
||||
Mode = STATUS_NONE;
|
||||
return true;
|
||||
case STATUS_SKETCH_StartRubberBand: // a single click happened, so clear selection unless user hold control.
|
||||
if (!(QApplication::keyboardModifiers() == Qt::ControlModifier))
|
||||
if (!(QApplication::keyboardModifiers() & Qt::ControlModifier)) {
|
||||
Gui::Selection().clearSelection();
|
||||
}
|
||||
Mode = STATUS_NONE;
|
||||
return true;
|
||||
case STATUS_SKETCH_UseRubberBand:
|
||||
|
||||
Reference in New Issue
Block a user