From 960f9040e31b94f789e3c3f6fb8c7818e99bef78 Mon Sep 17 00:00:00 2001 From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Mon, 18 Nov 2024 19:41:21 -0700 Subject: [PATCH] fix booboo caught by clang --- gui/gmapdlg.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/gmapdlg.cc b/gui/gmapdlg.cc index ee17d8da5..764ce8c7e 100644 --- a/gui/gmapdlg.cc +++ b/gui/gmapdlg.cc @@ -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) {