forked from bartvdbraak/blender
Bugfix from own collection: Rename option in Outliner didn't handle an ESC
correctly. Button wasn't closed then.
This commit is contained in:
parent
b02ff5f2a2
commit
2f0ae40979
@ -2505,8 +2505,12 @@ static void outliner_buttons(uiBlock *block, SpaceOops *soops, ListBase *lb)
|
||||
|
||||
// signal for button to open
|
||||
addqueue(curarea->win, BUT_ACTIVATE, OL_NAMEBUTTON);
|
||||
|
||||
/* otherwise keeps open on ESC */
|
||||
tselem->flag &= ~TSE_TEXTBUT;
|
||||
}
|
||||
if((tselem->flag & TSE_CLOSED)==0) outliner_buttons(block, soops, &te->subtree);
|
||||
else
|
||||
if((tselem->flag & TSE_CLOSED)==0) outliner_buttons(block, soops, &te->subtree);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user