Commit 5f754e8b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: Select the last DVD drive from prefs

Ref: #6719
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 9e900f26
......@@ -403,6 +403,10 @@ void DiscOpenPanel::onFocus()
}
SetErrorMode(oldMode);
}
int temp = ui.deviceCombo->findData( config_GetPsz( p_intf, "dvd" ), Qt::UserRole, Qt::MatchStartsWith );
if( temp != -1 )
ui.deviceCombo->setCurrentIndex( temp );
}
#elif defined( __OS2__ ) /* Disc drives probing for OS/2 */
void DiscOpenPanel::onFocus()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment