Gui: set focus to the corresponding property when a gizmo is released
This commit is contained in:
committed by
Chris Hennes
parent
dc2aec50d4
commit
d8d32c1b3a
@@ -253,6 +253,9 @@ void LinearGizmo::draggingFinished()
|
||||
property->blockSignals(false);
|
||||
property->valueChanged(property->value().getValue());
|
||||
}
|
||||
|
||||
property->setFocus();
|
||||
property->selectAll();
|
||||
}
|
||||
|
||||
void LinearGizmo::draggingContinued()
|
||||
@@ -448,6 +451,9 @@ void RotationGizmo::draggingFinished()
|
||||
property->blockSignals(false);
|
||||
property->valueChanged(property->value().getValue());
|
||||
}
|
||||
|
||||
property->setFocus();
|
||||
property->selectAll();
|
||||
}
|
||||
|
||||
void RotationGizmo::draggingContinued()
|
||||
|
||||
Reference in New Issue
Block a user