Skip to content

Commit

Permalink
dup ids
Browse files Browse the repository at this point in the history
  • Loading branch information
null committed Dec 9, 2023
1 parent 2d994f0 commit 36b4192
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/StelQuickStelItem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,9 @@ QString StelQuickStelItem::getSelectedObjectInfo() const
StelCore* core = StelApp::getInstance().getCore();
StelObjectP object = selected[0];
// If the object name already tells the catalog number, no need to show it again in the infos.
if (getSelectedObjectName().contains(
object->getInfoString(core, StelObject::PlainText | StelObject::CatalogNumber).trimmed()))
infoTextFilters &= ~StelObject::CatalogNumber;
// if (getSelectedObjectName().contains(
// object->getInfoString(core, StelObject::PlainText | StelObject::CatalogNumber).trimmed()))
// infoTextFilters &= ~StelObject::CatalogNumber;
return object->getInfoString(core, infoTextFilters);
}

Expand Down

0 comments on commit 36b4192

Please sign in to comment.