Selaa lähdekoodia

fix list in creature window

Laserlicht 1 kuukausi sitten
vanhempi
sitoutus
c795af8490
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      client/widgets/ObjectLists.cpp

+ 2 - 1
client/widgets/ObjectLists.cpp

@@ -121,7 +121,8 @@ void CListBox::updatePositions()
 		slider->scrollTo((int)first);
 		moveChildForeground(slider.get());
 	}
-	redraw();
+	parent->setRedrawParent(true);
+	parent->redraw();
 }
 
 void CListBox::reset()