From 58c3f8b95c6c7a75fad3082d026e08ab62999a46 Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Wed, 8 Jan 2025 19:03:12 +0100 Subject: [PATCH] bugfix: Description was not kept when Restart was used (fixes #1576) --- src/osdep/gui/PanelConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osdep/gui/PanelConfig.cpp b/src/osdep/gui/PanelConfig.cpp index 3594768e3..7393d7863 100644 --- a/src/osdep/gui/PanelConfig.cpp +++ b/src/osdep/gui/PanelConfig.cpp @@ -277,7 +277,6 @@ void RefreshPanelConfig() if (last_active_config[0]) { txtName->setText(last_active_config); - txtDesc->setText(changed_prefs.description); } // Search current entry @@ -289,6 +288,7 @@ void RefreshPanelConfig() { // Select current entry lstConfigs->setSelected(i); + txtDesc->setText(ConfigFilesList[i]->Description); ensureVisible = i; MakeCurrentVisible(); break;