TechDraw: Header uniformity and whitespace fixes
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2019 Wandererfan <wandererfan@gmail.com *
|
||||
* Copyright (c) 2019 WandererFan <wandererfan@gmail.com *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
@@ -242,7 +242,7 @@ void TaskCenterLine::setUiEdit()
|
||||
ui->rbAligned->setEnabled(false);
|
||||
else
|
||||
ui->rbAligned->setEnabled(true);
|
||||
|
||||
|
||||
Base::Quantity qVal;
|
||||
qVal.setUnit(Base::Unit::Length);
|
||||
qVal.setValue(m_cl->m_vShift);
|
||||
@@ -435,7 +435,7 @@ double TaskCenterLine::getCenterWidth()
|
||||
auto lg = TechDraw::LineGroup::lineGroupFactory(lgName);
|
||||
|
||||
double width = lg->getWeight("Graphic");
|
||||
delete lg;
|
||||
delete lg;
|
||||
Gui::ViewProvider* vp = QGIView::getViewProvider(m_partFeat);
|
||||
auto partVP = dynamic_cast<ViewProviderViewPart*>(vp);
|
||||
if ( partVP != nullptr ) {
|
||||
@@ -491,7 +491,7 @@ bool TaskCenterLine::reject()
|
||||
if (getCreateMode() &&
|
||||
(m_partFeat != nullptr) ) {
|
||||
// Base::Console().Message("TCL::reject - create Mode!!\n");
|
||||
//nothing to remove.
|
||||
//nothing to remove.
|
||||
}
|
||||
|
||||
if (!getCreateMode() &&
|
||||
@@ -500,7 +500,7 @@ bool TaskCenterLine::reject()
|
||||
//nothing to un-update
|
||||
}
|
||||
|
||||
//make sure any dangling objects are cleaned up
|
||||
//make sure any dangling objects are cleaned up
|
||||
Gui::Command::doCommand(Gui::Command::Gui,"App.activeDocument().recompute()");
|
||||
Gui::Command::doCommand(Gui::Command::Gui,"Gui.ActiveDocument.resetEdit()");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user