Skip to content

Commit

Permalink
fix booboo caught by clang (#1386)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsteven4 authored Nov 19, 2024
1 parent 186ed56 commit 0901d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/gmapdlg.cc
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ void GMapDialog::showOnlyThis(QStandardItem* top, int menuRow)
mapWidget_->panTo(gpx_.getWaypoints().at(menuRow).getLocation());
} else if (top == trkItem_) {
mapWidget_->frameTrack(menuRow);
} else if (top = rteItem_) {
} else if (top == rteItem_) {
mapWidget_->frameRoute(menuRow);
}
for (int row = 0; row < top->rowCount(); ++row) {
Expand Down

0 comments on commit 0901d5f

Please sign in to comment.