Skip to content

Commit

Permalink
bugfix: Description was not kept when Restart was used (fixes #1576)
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Jan 8, 2025
1 parent 6aaa82c commit 58c3f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osdep/gui/PanelConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ void RefreshPanelConfig()
if (last_active_config[0])
{
txtName->setText(last_active_config);
txtDesc->setText(changed_prefs.description);
}

// Search current entry
Expand All @@ -289,6 +288,7 @@ void RefreshPanelConfig()
{
// Select current entry
lstConfigs->setSelected(i);
txtDesc->setText(ConfigFilesList[i]->Description);
ensureVisible = i;
MakeCurrentVisible();
break;
Expand Down

0 comments on commit 58c3f8b

Please sign in to comment.