File diff r13023:9f6499c8d4fb → r13024:48c81d0b078a
src/widgets/dropdown.cpp
Show inline comments
 
@@ -104,7 +104,7 @@ struct DropdownWindow : Window {
 
		Window *w2 = FindWindowById(this->parent_wnd_class, this->parent_wnd_num);
 
		if (w2 != NULL) {
 
			w2->RaiseWidget(this->parent_button);
 
			w2->InvalidateWidget(this->parent_button);
 
			w2->SetWidgetDirty(this->parent_button);
 
		}
 

	
 
		DeleteDropDownList(this->list);
 
@@ -252,7 +252,7 @@ void ShowDropDownList(Window *w, DropDow
 
	DeleteWindowById(WC_DROPDOWN_MENU, 0);
 

	
 
	w->LowerWidget(button);
 
	w->InvalidateWidget(button);
 
	w->SetWidgetDirty(button);
 

	
 
	/* Our parent's button widget is used to determine where to place the drop
 
	 * down list window. */