Skip to content

Commit 679e794

Browse files
committed
Fem: Hide input filter if new filer is created
1 parent 5713904 commit 679e794

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Mod/Fem/Gui/Command.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -1703,6 +1703,11 @@ void setupFilter(Gui::Command* cmd, std::string Name)
17031703
"App.activeDocument().ActiveObject.ViewObject.VectorMode = \"%s\"",
17041704
selObjectView->VectorMode.getValueAsString());
17051705

1706+
// hide selected filter
1707+
cmd->doCommand(Gui::Command::Doc,
1708+
"App.activeDocument().%s.ViewObject.Visibility = False",
1709+
selObject->getNameInDocument());
1710+
17061711
cmd->updateActive();
17071712
// open the dialog to edit the filter
17081713
cmd->doCommand(Gui::Command::Gui, "Gui.activeDocument().setEdit('%s')", FeatName.c_str());

0 commit comments

Comments
 (0)