[PartDesign] Remove useless function overriding
Double-click is already handled by PartDesign::ViewProvider::doubleClicked() Overridings in Loft & Pipe brings no specific behavior By removing overridings, behavioral consistency is improved both in ... ... undo commands & body activation management when PartDesign items ... ... are double-clicked
This commit is contained in:
@@ -81,11 +81,6 @@ void ViewProviderLoft::setupContextMenu(QMenu* menu, QObject* receiver, const ch
|
||||
PartDesignGui::ViewProvider::setupContextMenu(menu, receiver, member);
|
||||
}
|
||||
|
||||
bool ViewProviderLoft::doubleClicked(void)
|
||||
{
|
||||
return PartDesignGui::setEdit(pcObject);
|
||||
}
|
||||
|
||||
bool ViewProviderLoft::setEdit(int ModNum)
|
||||
{
|
||||
if (ModNum == ViewProvider::Default)
|
||||
|
||||
Reference in New Issue
Block a user