Skip to content

Mark void items used in analysis views to disable automatic scrolling

Fixes an unexpected/unwanted automatic horizontal scroll that can happen when some checkboxes are clicked in analysis views. Follows the approach described in this Qt forum thread, setting Qt::NoFocus on qtVoidItem instances. Because we don't want to disable focus everywhere, a UserData instance is applied to void items in the analysis attribute.

The mod is only needed for linux and Windows builds (reasons unknown). So macOS users can still enjoy the luxury of tabbing in analysis views.

closes: #442 (closed)

Edited by John Tourtellott

Merge request reports