diff options
-rw-r--r-- | src/ui_act.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui_act.c b/src/ui_act.c index 8cf6c2b..4584117 100644 --- a/src/ui_act.c +++ b/src/ui_act.c @@ -675,8 +675,12 @@ BarUiActCallback(BarUiActManageStation) { reqData.station = selStation; BarUiMsg (&app->settings, MSG_INFO, "Fetching station info... "); - BarUiActDefaultPianoCall (PIANO_REQUEST_GET_STATION_INFO, &reqData); + const bool bret = BarUiActDefaultPianoCall (PIANO_REQUEST_GET_STATION_INFO, + &reqData); BarUiActDefaultEventcmd ("stationfetchinfo"); + if (!bret) { + return; + } /* enable submenus depending on data availability */ strcpy (question, "Delete "); |