[skip CI] [FEM] some style changes by MSVC
- to avoid annoying unnecessary diffs while working on the FEM module
This commit is contained in:
@@ -45,8 +45,8 @@ using namespace FemGui;
|
||||
// TaskDialog
|
||||
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
TaskDlgCreateNodeSet::TaskDlgCreateNodeSet(Fem::FemSetNodesObject *obj)
|
||||
: TaskDialog(),FemSetNodesObject(obj)
|
||||
TaskDlgCreateNodeSet::TaskDlgCreateNodeSet(Fem::FemSetNodesObject* obj)
|
||||
: TaskDialog(), FemSetNodesObject(obj)
|
||||
{
|
||||
name = new TaskObjectName(obj);
|
||||
param = new TaskCreateNodeSet(obj);
|
||||
@@ -81,7 +81,7 @@ bool TaskDlgCreateNodeSet::accept()
|
||||
// doc->resetEdit();
|
||||
param->MeshViewProvider->resetHighlightNodes();
|
||||
FemSetNodesObject->Label.setValue(name->name);
|
||||
Gui::Command::doCommand(Gui::Command::Gui,"Gui.activeDocument().resetEdit()");
|
||||
Gui::Command::doCommand(Gui::Command::Gui, "Gui.activeDocument().resetEdit()");
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -95,12 +95,12 @@ bool TaskDlgCreateNodeSet::accept()
|
||||
bool TaskDlgCreateNodeSet::reject()
|
||||
{
|
||||
FemSetNodesObject->execute();
|
||||
//Gui::Document* doc = Gui::Application::Instance->activeDocument();
|
||||
//if(doc)
|
||||
// doc->resetEdit();
|
||||
//Gui::Document* doc = Gui::Application::Instance->activeDocument();
|
||||
//if(doc)
|
||||
// doc->resetEdit();
|
||||
param->MeshViewProvider->resetHighlightNodes();
|
||||
Gui::Command::abortCommand();
|
||||
Gui::Command::doCommand(Gui::Command::Gui,"Gui.activeDocument().resetEdit()");
|
||||
Gui::Command::doCommand(Gui::Command::Gui, "Gui.activeDocument().resetEdit()");
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -110,5 +110,4 @@ void TaskDlgCreateNodeSet::helpRequested()
|
||||
|
||||
}
|
||||
|
||||
|
||||
#include "moc_TaskDlgCreateNodeSet.cpp"
|
||||
|
||||
Reference in New Issue
Block a user