PD: fix crash on Windows when loading PD workbench

This commit is contained in:
wmayer
2023-04-13 15:02:32 +02:00
committed by wwmayer
parent 12e46d7495
commit c93b5e27c9
6 changed files with 18 additions and 8 deletions

View File

@@ -51,8 +51,6 @@ FC_LOG_LEVEL_INIT("PartDesign",true,true)
using namespace PartDesignGui;
using namespace Gui;
const QString TaskDressUpParameters::btnPreviewStr = tr("Preview");
const QString TaskDressUpParameters::btnSelectStr = tr("Select");
/* TRANSLATOR PartDesignGui::TaskDressUpParameters */
@@ -81,6 +79,18 @@ TaskDressUpParameters::~TaskDressUpParameters()
Gui::Selection().rmvSelectionGate();
}
const QString TaskDressUpParameters::btnPreviewStr()
{
static const QString text{ tr("Preview") };
return text;
}
const QString TaskDressUpParameters::btnSelectStr()
{
static const QString text{ tr("Select") };
return text;
}
void TaskDressUpParameters::setupTransaction()
{
if (!DressUpView)