PD: fix crash on Windows when loading PD workbench
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user