ui_qt: fix rev edge with multiple bends