Fix #19513: scroll wheel did not work when over disabled buttons.

This commit is contained in:
2009-10-01 12:33:35 +00:00
parent 492c545e05
commit 988e9132b8

View File

@@ -3271,7 +3271,7 @@ static int ui_do_button(bContext *C, uiBlock *block, uiBut *but, wmEvent *event)
retval= WM_UI_HANDLER_CONTINUE;
if(but->flag & UI_BUT_DISABLED)
return WM_UI_HANDLER_BREAK;
return WM_UI_HANDLER_CONTINUE;
if(data->state == BUTTON_STATE_HIGHLIGHT) {
/* handle copy-paste */