minor fixes: debug message/tooltips/etc

This commit is contained in:
WandererFan
2017-01-21 09:32:06 -05:00
parent 33479bd4e3
commit dd8eefc057
3 changed files with 5 additions and 7 deletions

View File

@@ -456,7 +456,7 @@ CmdTechDrawProjGroup::CmdTechDrawProjGroup()
sAppModule = "TechDraw";
sGroup = QT_TR_NOOP("TechDraw");
sMenuText = QT_TR_NOOP("Insert Projection Group");
sToolTipText = QT_TR_NOOP("Insert 2D Projections of a 3D part into the active drawing");
sToolTipText = QT_TR_NOOP("Insert multiple views of a single part into the active drawing");
sWhatsThis = "TechDraw_ProjGroup";
sStatusTip = sToolTipText;
sPixmap = "actions/techdraw-projgroup";

View File

@@ -165,8 +165,6 @@ void CmdTechDrawNewCrosshatch::activated(int iMsg)
std::stringstream featLabel;
featLabel << FeatName << "FX" << TechDraw::DrawUtil::getIndexFromName(subNames.at(0));
Base::Console().Message("TRACE - cmd::newCrossHatch - %s - %s\n",featLabel.str().c_str(), FeatName.c_str());
openCommand("Create Crosshatch");
doCommand(Doc,"App.activeDocument().addObject('TechDraw::DrawCrosshatch','%s')",FeatName.c_str());
doCommand(Doc,"App.activeDocument().%s.Label = '%s'",FeatName.c_str(),featLabel.str().c_str());