Skip to content

Commit

Permalink
PartDesign: Extend context menu when right-clicking on 3d view in PD …
Browse files Browse the repository at this point in the history
…workbench
  • Loading branch information
wwmayer committed Jun 21, 2019
1 parent d7b6d4d commit 0b8baab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Mod/PartDesign/Gui/Workbench.cpp
Expand Up @@ -236,6 +236,12 @@ void Workbench::setupContextMenu(const char* recipient, Gui::MenuItem* item) con
}
}
}

if (strcmp(recipient, "View") == 0) {
if (item->hasItems())
*item << "Separator";
Gui::StdWorkbench::setupContextMenu(recipient, item);
}
}

void Workbench::activated()
Expand Down

0 comments on commit 0b8baab

Please sign in to comment.