UI: fix potential crasher in UI panel commit.
This commit is contained in:
@@ -1391,8 +1391,8 @@ void uiFreeInactiveBlocks(const bContext *C, ListBase *lb)
|
||||
|
||||
if(!block->handle) {
|
||||
if(!block->active) {
|
||||
uiFreeBlock(C, block);
|
||||
BLI_remlink(lb, block);
|
||||
uiFreeBlock(C, block);
|
||||
}
|
||||
else
|
||||
block->active= 0;
|
||||
|
Reference in New Issue
Block a user