Work around Qt bug that causes crash when repeatedly clicking a spinner