Skip to content

Commit 2a5b7ab

Browse files
committed
Clear previous items in Video System Menu in ::refresh() before adding new ones
Thanks, @FrostC for the report!
1 parent ffaf350 commit 2a5b7ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/supertux/menu/video_system_menu.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ VideoSystemMenu::VideoSystemMenu()
3535
void
3636
VideoSystemMenu::refresh()
3737
{
38+
clear();
39+
3840
add_label(_("Select Video System"));
3941
add_hl();
4042

0 commit comments

Comments
 (0)