Part/PD: Send current edit mode to cmdSetEdit

This commit is contained in:
Chris Hennes
2025-10-01 22:38:38 -05:00
parent bae76a4dc0
commit f34f15dc60
3 changed files with 3 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ bool ViewProviderBase::doubleClicked()
std::string Msg("Edit ");
Msg += base->Label.getValue();
Gui::Command::openCommand(Msg.c_str());
Gui::cmdSetEdit(base);
Gui::cmdSetEdit(base, Gui::Application::Instance->getUserEditMode());
}
catch (const Base::Exception&) {
Gui::Command::abortCommand();