Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hishizuka committed Nov 23, 2023
1 parent 29bab82 commit 3941e73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/pyqt/menu/pyqt_map_menu_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ def onoff_map(self, overlay_type, change, is_use):
elif overlay_type == "Wind map":
self.config.G_USE_WIND_OVERLAY_MAP = not status
status = not status
self.config.gui.map_widget.enable_overlay_button()
if self.config.display.has_touch:
self.config.gui.map_widget.enable_overlay_button()

self.buttons[overlay_type].change_toggle(status)

Expand Down

0 comments on commit 3941e73

Please sign in to comment.