Skip to content

lineedit: Disable cut/copy when lineedit uses Password mode - #13388

Open
Montel wants to merge 2 commits into
slint-ui:masterfrom
Montel:fix_copy_cut_menu_entry
Open

Montel wants to merge 2 commits into
slint-ui:masterfrom
Montel:fix_copy_cut_menu_entry

Conversation

@Montel

@Montel Montel commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Qt disables cut/copy too when lineedit uses password mode.
Add autotest too

Qt disables cut/copy too when lineedit uses password mode.
Add autotest too

@ogoffart ogoffart left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This disable the menu entry, but Ctrl+C and Ctrl+X will still be working. There is no point disabling the menus if the keyboard shortcut are still working.

@Montel

Montel commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

Ok I will look at it.

Qt disables cut/copy too when lineedit uses password mode.
Add autotest too
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants