Crowdin: Part/Gui/TaskAttacher.cpp superfluous whitespace fix
This commit is contained in:
@@ -162,7 +162,7 @@ TaskAttacher::TaskAttacher(Gui::ViewProviderDocumentObject *ViewProvider,QWidget
|
||||
ui->lineRef4->blockSignals(true);
|
||||
ui->listOfModes->blockSignals(true);
|
||||
|
||||
// Get the feature data
|
||||
// Get the feature data
|
||||
Part::AttachExtension* pcAttach = ViewProvider->getObject()->getExtensionByType<Part::AttachExtension>();
|
||||
std::vector<std::string> refnames = pcAttach->Support.getSubValues();
|
||||
|
||||
@@ -349,7 +349,7 @@ void TaskAttacher::onSelectionChanged(const Gui::SelectionChanges& msg)
|
||||
std::vector<std::string> refnames = pcAttach->Support.getSubValues();
|
||||
App::DocumentObject* selObj = ViewProvider->getObject()->getDocument()->getObject(msg.pObjectName);
|
||||
if (selObj == ViewProvider->getObject()) return;//prevent self-referencing
|
||||
|
||||
|
||||
std::string subname = msg.pSubName;
|
||||
|
||||
// Remove subname for planes and datum features
|
||||
@@ -801,7 +801,7 @@ void TaskAttacher::updateListOfModes()
|
||||
QString tooltip = mstr[1];
|
||||
|
||||
if (mmode != mmDeactivated) {
|
||||
tooltip += tr("\n\nReference combinations:\n") +
|
||||
tooltip += QString::fromLatin1("\n\n") + tr("Reference combinations:") + QString::fromLatin1("\n") +
|
||||
AttacherGui::getRefListForMode(pcAttach->attacher(),mmode).join(QString::fromLatin1("\n"));
|
||||
}
|
||||
item->setToolTip(tooltip);
|
||||
@@ -845,13 +845,13 @@ void TaskAttacher::updateListOfModes()
|
||||
|
||||
void TaskAttacher::selectMapMode(eMapMode mmode) {
|
||||
ui->listOfModes->blockSignals(true);
|
||||
|
||||
|
||||
for (size_t i = 0; i < modesInList.size(); ++i) {
|
||||
if (modesInList[i] == mmode) {
|
||||
ui->listOfModes->item(i)->setSelected(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ui->listOfModes->blockSignals(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user