From db849f5f8a8e95326f787f58cf1811197aab4470 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Thu, 19 Mar 2026 12:01:27 -0400 Subject: [PATCH] OpenPlugins reset start_in_screen when database record is deleted This is more of an ease of use enhancement than a bug but it should prevent the annoyance of the message about the missing entry without needing to go and reset the start in screen setting Change-Id: I15eb005ce254eb0f0d3f2543abf710b68468a8b3 --- apps/plugins/open_plugins.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/plugins/open_plugins.c b/apps/plugins/open_plugins.c index e90d2d95de..9da5c1f3a2 100644 --- a/apps/plugins/open_plugins.c +++ b/apps/plugins/open_plugins.c @@ -480,6 +480,11 @@ static void op_entry_remove(int selection) { lang_id = op_entry.lang_id; hash = op_entry.hash; + if(lang_id == LANG_START_SCREEN + && rb->global_settings->start_in_screen == GO_TO_PLUGIN +2) + { + rb->global_settings->start_in_screen = GO_TO_ROOT + 2; /* default */ + } } rb->memset(&op_entry, 0, op_entry_sz); op_entry.lang_id = lang_id;