win: Replace the main menubar Media menu handler

This commit is contained in:
David Hrdlička
2020-04-26 17:00:45 +02:00
parent 3d723d9135
commit 03f82fdb99
3 changed files with 5 additions and 1 deletions

View File

@@ -613,6 +613,8 @@ ui_sb_update_panes(void)
c_scsi = hdd_count(HDD_BUS_SCSI);
do_net = network_available();
media_menu_reset();
if (sb_parts > 0) {
for (i = 0; i < sb_parts; i++)
SendMessage(hwndSBAR, SB_SETICON, i, (LPARAM)NULL);