summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 2f05d7c..f431331 100644
--- a/src/main.c
+++ b/src/main.c
@@ -137,7 +137,8 @@ static void BarMainGetInitialStation (BarApp_t *app) {
}
/* no autostart? ask the user */
if (app->curStation == NULL) {
- app->curStation = BarUiSelectStation (app, app->ph.stations, "Select station: ", NULL);
+ app->curStation = BarUiSelectStation (app, app->ph.stations,
+ "Select station: ", NULL, app->settings.autoselect);
}
if (app->curStation != NULL) {
BarUiPrintStation (&app->settings, app->curStation);