diff --git a/OsmAnd/src/net/osmand/plus/views/MapQuickActionLayer.java b/OsmAnd/src/net/osmand/plus/views/MapQuickActionLayer.java index 45939ba22f..5a6b47ed65 100644 --- a/OsmAnd/src/net/osmand/plus/views/MapQuickActionLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/MapQuickActionLayer.java @@ -80,8 +80,10 @@ public class MapQuickActionLayer extends OsmandMapLayer implements QuickActionRe quickActionButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { - if (!showTutorialIfNeeded()) + mapActivity.dismissCardDialog(); + if (!showTutorialIfNeeded()) { setLayerState(!isWidgetVisible()); + } } });