TechDraw: clear selection after editing Annotation from 2D page Fixes FreeCAD#27983
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include <App/DocumentObject.h>
|
||||
#include <Gui/ComboView.h>
|
||||
#include <Gui/DockWindowManager.h>
|
||||
#include <Gui/Selection/Selection.h>
|
||||
#include <Gui/propertyeditor/PropertyEditor.h>
|
||||
#include <Gui/propertyeditor/PropertyModel.h>
|
||||
#include <Mod/TechDraw/App/DrawLeaderLine.h>
|
||||
@@ -95,6 +96,7 @@ TechDraw::DrawViewAnnotation* ViewProviderAnnotation::getViewObject() const
|
||||
bool ViewProviderAnnotation::doubleClicked()
|
||||
{
|
||||
setEdit(ViewProvider::Default);
|
||||
Gui::Selection().clearSelection();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user