Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Clear cad dock widget
- Loading branch information
Showing
with
4 additions
and
0 deletions.
-
+4
−0
src/app/qgsmaptoolrotatefeature.cpp
|
@@ -196,6 +196,7 @@ void QgsMapToolRotateFeature::cadCanvasReleaseEvent( QgsMapMouseEvent *e ) |
|
|
deleteRubberband(); |
|
|
notifyNotVectorLayer(); |
|
|
mSnapIndicator->setMatch( QgsPointLocator::Match() ); |
|
|
mCadDockWidget->clear(); |
|
|
return; |
|
|
} |
|
|
|
|
@@ -354,6 +355,7 @@ void QgsMapToolRotateFeature::cancel() |
|
|
} |
|
|
mRotationActive = false; |
|
|
mSnapIndicator->setMatch( QgsPointLocator::Match() ); |
|
|
mCadDockWidget->clear(); |
|
|
} |
|
|
|
|
|
void QgsMapToolRotateFeature::updateRubberband( double rotation ) |
|
@@ -385,6 +387,7 @@ void QgsMapToolRotateFeature::applyRotation( double rotation ) |
|
|
deleteRubberband(); |
|
|
notifyNotVectorLayer(); |
|
|
mSnapIndicator->setMatch( QgsPointLocator::Match() ); |
|
|
mCadDockWidget->clear(); |
|
|
return; |
|
|
} |
|
|
|
|
@@ -434,6 +437,7 @@ void QgsMapToolRotateFeature::applyRotation( double rotation ) |
|
|
deleteRotationWidget(); |
|
|
deleteRubberband(); |
|
|
mSnapIndicator->setMatch( QgsPointLocator::Match() ); |
|
|
mCadDockWidget->clear(); |
|
|
|
|
|
if ( mAutoSetAnchorPoint ) |
|
|
mAnchorPoint.reset(); |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.