Correct last commit

This commit is contained in:
2014-07-24 16:27:56 +10:00
parent dca61a6b20
commit cf521f198a

View File

@@ -387,7 +387,7 @@ void ui_pan_to_scroll(const wmEvent *event, int *type, int *val)
static bool ui_but_is_editable(const uiBut *but)
{
return ELEM(but->type, LABEL, SEPR, SEPRLINE, ROUNDBOX, LISTBOX, PROGRESSBAR);
return !ELEM(but->type, LABEL, SEPR, SEPRLINE, ROUNDBOX, LISTBOX, PROGRESSBAR);
}
static uiBut *ui_but_prev(uiBut *but)