Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • KColorChooser KColorChooser
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GraphicsGraphics
  • KColorChooserKColorChooser
  • Merge requests
  • !3

Disable OK and Cancel buttons

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Rafael Fryer requested to merge squidink/kcolorchooser:master into master Mar 19, 2022
  • Overview 1
  • Commits 1
  • Pipelines 2
  • Changes 1

The OK and Cancel buttons used by default on QColorDialogs do nothing other than close the program in this case. Disabling them will not only reduce unneeded visual elements but also prevent closing the application with the Enter key, which I personally have found myself doing on multiple occasions.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: master