Skip to content

Commit

Permalink
[SSE] Add info for total candidates for addiing...
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-w committed Aug 29, 2024
1 parent 92237fc commit 5a7ab0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/SolarSystemEditor/src/gui/MpcImportWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,8 @@ void MpcImportWindow::populateCandidateObjects(QList<SsoElements> objects)
model->clear();
model->setColumnCount(1);

ui->labelNumberOfObjects->setText(QString("%1: %2").arg(q_("Total objects in selected source"), QString::number(objects.count())));

for (auto object : objects)
{
QString name = object.value("name").toString();
Expand Down
3 changes: 3 additions & 0 deletions plugins/SolarSystemEditor/src/gui/mpcImportWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,9 @@
<item>
<widget class="QLineEdit" name="lineEditSearch"/>
</item>
<item>
<widget class="QLabel" name="labelNumberOfObjects"/>
</item>
<item>
<widget class="QListView" name="listViewObjects">
<property name="selectionMode">
Expand Down

0 comments on commit 5a7ab0a

Please sign in to comment.