Bugfix #3040, the new 'roundbox' button disabled copy/paste values in

buttons. You could notice that for Constraint and Modifier panels.
This commit is contained in:
Ton Roosendaal 2005-09-12 13:26:53 +00:00
parent 999392e4b7
commit 9b46c46dc9

@ -3359,7 +3359,7 @@ static int ui_do_block(uiBlock *block, uiEvent *uevent)
case CKEY: case CKEY:
if(uevent->val && (uevent->qual & (LR_CTRLKEY|LR_COMMANDKEY))) { if(uevent->val && (uevent->qual & (LR_CTRLKEY|LR_COMMANDKEY))) {
for(but= block->buttons.first; but; but= but->next) { for(but= block->buttons.first; but; but= but->next) {
if(but->type!=LABEL) { if(but->type!=LABEL && but->type!=ROUNDBOX) {
if(but->flag & UI_ACTIVE) { if(but->flag & UI_ACTIVE) {
int doit=0; int doit=0;