ui: fixed clang warning, refs #360