Skip to content

Commit

Permalink
Fixed storing rules for AstroCalc/Phenomena
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-w committed Jul 8, 2018
1 parent 1fd9307 commit 708581c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/AstroCalcDialog.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ class ACPhenTreeWidgetItem : public QTreeWidgetItem
{
int column = treeWidget()->sortColumn();

if (column == AstroCalcDialog::PhenomenaSeparation)
if (column == AstroCalcDialog::PhenomenaSeparation || column == AstroCalcDialog::PhenomenaElongation)
{
return StelUtils::getDecAngle(text(column)) < StelUtils::getDecAngle(other.text(column));
}
Expand Down

0 comments on commit 708581c

Please sign in to comment.