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

appchooser: don't disable the OK button #855

Merged
merged 1 commit into from
Dec 11, 2022

Conversation

kreijack
Copy link
Contributor

When we are not in the app view tab don't change the enable state of the OK button, only because we lost the focus from the app on the app view.

In the appchooser dialog, sometime we loose the active status of the OK button in the "custom command" tab.
This happens because if in the "Installed Application" tab the selection is lost, then the "OK button enable status" is disabled.

This patch ensures that the OK button state is changed only when the "Installed Application" tab is shown.

When we are not in the app view tab, don't change the enable
state of the OK button; the selection may be reset by the
menu-cache.
@kreijack
Copy link
Contributor Author

Hi I updated the comment as per request.

@tsujan tsujan self-requested a review December 11, 2022 18:32
Copy link
Member

@tsujan tsujan left a comment

Choose a reason for hiding this comment

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

Thanks!

@tsujan tsujan merged commit 14f28fc into lxqt:master Dec 11, 2022
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.

None yet

2 participants