diff options
author | Severin <eiseljulian@gmail.com> | 2018-12-29 21:06:06 +0300 |
---|---|---|
committer | Severin <eiseljulian@gmail.com> | 2018-12-29 21:10:21 +0300 |
commit | 266b1e2cdbc19466ac452cc3cb08273d6f37b341 (patch) | |
tree | 492cba8d2d16803551b1aa861de1d1de5c5969b1 /source | |
parent | 07569a333b2e27ccc17cfe6662a9789f74d5fc71 (diff) |
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.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_userpref/space_userpref.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |