cannot combine focus policy flags

Phil Thompson phil at riverbankcomputing.com
Mon Nov 22 14:56:36 GMT 2021


On 20/11/2021 01:06, Kovid Goyal wrote:
> In PyQt6, regression from PyQt5
> 
> Qt.FocusPolicy.ClickFocus | Qt.FocusPolicy.WheelFocus
> 
> fails, one has to instead do
> Qt.FocusPolicy(Qt.FocusPolicy.ClickFocus.value |
> Qt.FocusPolicy.WheelFocus.value)

Fixed in the next snapshot.

Thanks,
Phil


More information about the PyQt mailing list