(svn r26629) -Fix [FS#6012]: If the video driver fails to supply a list of resolutions, display an error message.
This commit is contained in:
@@ -116,6 +116,8 @@ struct DropdownWindow : Window {
|
||||
DropdownWindow(Window *parent, const DropDownList *list, int selected, int button, bool instant_close, const Point &position, const Dimension &size, Colours wi_colour, bool scroll)
|
||||
: Window(&_dropdown_desc)
|
||||
{
|
||||
assert(list->Length() > 0);
|
||||
|
||||
this->position = position;
|
||||
|
||||
this->CreateNestedTree();
|
||||
|
Reference in New Issue
Block a user