From a121457164da3e21902cbd68ab602cee85a9b910 Mon Sep 17 00:00:00 2001 From: erikkaashoek Date: Wed, 1 Apr 2020 11:24:37 +0200 Subject: [PATCH] Show active markers in menu --- ui_sa.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui_sa.c b/ui_sa.c index 81631a0..2ddc17d 100644 --- a/ui_sa.c +++ b/ui_sa.c @@ -906,6 +906,9 @@ static void menu_item_modify_attribute( mark = true; else if (item == markers[active_marker].mtype) mark = true; + } else if (menu == menu_marker_sel) { + if (item < MARKERS_MAX && markers[item].enabled) + mark = true; } if (mark) { *bg = DEFAULT_MENU_TEXT_COLOR;