Merge pull request #21659 from 3x380V/gui_fixes

Gui: random fixes
This commit is contained in:
Chris Hennes
2025-06-03 19:23:21 -05:00
committed by GitHub
50 changed files with 477 additions and 396 deletions

View File

@@ -29,7 +29,7 @@
#include <App/Document.h>
#include <Base/Console.h>
#include <Base/Exception.h>
#include <Gui/Command.h>
#include <Gui/CommandT.h>
#include "ViewProvider.h"
@@ -50,7 +50,7 @@ bool ViewProviderPart::doubleClicked()
try {
QString text = QObject::tr("Edit %1").arg(QString::fromUtf8(getObject()->Label.getValue()));
Gui::Command::openCommand(text.toUtf8());
FCMD_SET_EDIT(pcObject);
Gui::cmdSetEdit(pcObject);
return true;
}
catch (const Base::Exception& e) {