Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpinBox is missing context_menu_enabled property #91666

Open
h0lley opened this issue May 7, 2024 · 1 comment
Open

SpinBox is missing context_menu_enabled property #91666

h0lley opened this issue May 7, 2024 · 1 comment

Comments

@h0lley
Copy link

h0lley commented May 7, 2024

Tested versions

v4.2.2.stable.official [15073af]

System information

Ubuntu

Issue description

LineEdit comes with a context_menu_enabled property that allows the user to disable the right-click context menu.

SpinBox also does have a right-click context menu but appears to be missing the corresponding option to disable it.

I am currently working on a project where right-click context menu must be disabled as they'd cause issues.

Steps to reproduce

See issue description.

Minimal reproduction project (MRP)

n/a

@AThousandShips
Copy link
Member

You can control this by setting it on the embedded LineEdit with get_line_edit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants