From 266b1e2cdbc19466ac452cc3cb08273d6f37b341 Mon Sep 17 00:00:00 2001 From: Severin Date: Sat, 29 Dec 2018 19:06:06 +0100 Subject: Fix: Scrolling Preferences could cause blank UI Steps to reproduce were: * Open Preferences * Choose "Input" category * Scroll to the bottom * Choose "Interface" category The newly activated category should now use the scrolling set previously in the other category, causing the contents to be out of view. You would have to scroll to bring it back. Now scrolling is stored per category. --- source/blender/editors/space_userpref/space_userpref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_userpref') diff --git a/source/blender/editors/space_userpref/space_userpref.c b/source/blender/editors/space_userpref/space_userpref.c index 9a876f9d925..a0a263cb5de 100644 --- a/source/blender/editors/space_userpref/space_userpref.c +++ b/source/blender/editors/space_userpref/space_userpref.c @@ -123,7 +123,7 @@ static void userpref_main_region_init(wmWindowManager *wm, ARegion *ar) static void userpref_main_region_draw(const bContext *C, ARegion *ar) { - ED_region_panels(C, ar); + ED_region_panels_ex(C, ar, NULL, U.userpref, true); } static void userpref_operatortypes(void) -- cgit v1.2.3