ok, apparently didn't commit this either. apparently includes a merge with trunk...
[blender-staging.git] / source / blender / editors / interface / interface_handlers.c
index fafa8047a00f54cf581639ca8f11a4573f117f27..5db2d8e0551b50fe563c2c081bbb70f2e04064cc 100644 (file)
@@ -3594,9 +3594,9 @@ static int ui_do_button(bContext *C, uiBlock *block, uiBut *but, wmEvent *event)
                        }
                        else if (ui_but_menu(C, but)) {
                                return WM_UI_HANDLER_BREAK;
-                       }
                }
        }
+       }
 
        /* verify if we can edit this button */
        if(ELEM(event->type, LEFTMOUSE, RETKEY)) {