Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • K KTextEditor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 3
    • Merge requests 3
  • 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
  • Frameworks
  • KTextEditor
  • Merge requests
  • !135

Merged
Created Apr 12, 2021 by Ahmad Samir@ahmadsamirDeveloper

Don't insert null QActions

  • Overview 3
  • Commits 2
  • Changes 1

This fixes a warning: QWidget::insertAction: Attempt to insert null action

that was because the undo/redo actions were set to null if the document is readonly, instead just disable them like the rest of the actions when in readonly mode.

Found while working on Ark, which uses katepart to preview text files.

NO_CHANGELOG

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: work/ahmad/null-actions