ui/map: hide icon if no maneuver type (#29084)

hide icon if no maneuver type
old-commit-hash: 202b2f2113d48f517c64f0daf9ad2d61fdb0b7a6
This commit is contained in:
Dean Lee
2023-08-17 17:05:19 +08:00
committed by GitHub
parent f667936f3a
commit a50a9ef9b4
+2
View File
@@ -100,6 +100,8 @@ void MapInstructions::updateInstructions(cereal::NavInstruction::Reader instruct
icon_01->setPixmap(pixmap_cache[!rhd ? fn : "rhd_" + fn]);
icon_01->setSizePolicy(QSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed));
icon_01->setVisible(true);
} else {
icon_01->setVisible(false);
}
// Hide distance after arrival