Cleanup: add simplified panel callbacks

This commit is contained in:
2018-06-11 19:30:48 +02:00
parent d4b4504260
commit 691471fe22
14 changed files with 33 additions and 24 deletions

View File

@@ -551,7 +551,7 @@ static void text_properties_region_draw(const bContext *C, ARegion *ar)
{
SpaceText *st = CTX_wm_space_text(C);
ED_region_panels(C, ar, NULL, -1, true);
ED_region_panels(C, ar);
/* this flag trick is make sure buttons have been added already */
if (st->flags & ST_FIND_ACTIVATE) {