Gui: Replace calls of FCMD_SET_EDIT with Gui::cmdSetEdit

This commit is contained in:
wmayer
2025-03-16 23:25:28 +01:00
committed by Ladislav Michl
parent ce6641cb81
commit 5d11b2938f
4 changed files with 7 additions and 7 deletions

View File

@@ -24,7 +24,7 @@
#include "PreCompiled.h"
#include <App/Document.h>
#include <Gui/Command.h>
#include <Gui/CommandT.h>
#include <Mod/PartDesign/App/FeatureBase.h>
#include "ViewProviderBase.h"
@@ -54,7 +54,7 @@ bool ViewProviderBase::doubleClicked()
std::string Msg("Edit ");
Msg += base->Label.getValue();
Gui::Command::openCommand(Msg.c_str());
FCMD_SET_EDIT(base);
Gui::cmdSetEdit(base);
}
catch (const Base::Exception&) {
Gui::Command::abortCommand();