Sfoglia il codice sorgente

fix list in creature window

Laserlicht 1 mese fa
parent
commit
c795af8490
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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()