FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Remove config editor delegate hack. by deruyter92 · Pull Request #3167 · DeepLabCut/DeepLabCut · GitHub

Remove config editor delegate hack. - #3167

Merged
MMathisLab merged 1 commit into
DeepLabCut:mainfrom
deruyter92:jaap/fix_gui_config_editor
Jan 9, 2026
Merged

Remove config editor delegate hack.#3167
MMathisLab merged 1 commit into
DeepLabCut:mainfrom
deruyter92:jaap/fix_gui_config_editor

Conversation

Copy link
Copy Markdown
Collaborator

This commit fixes issue #3165, with the GUI DictViewer configuration editor widget.

A hack was implemented that prevented editing the config fields, using a custom QItemDelegate that caused segmentation fault when converting invalid return values in C++. This commit removes the custom delegate. The user can now edit all fieldnames.

This commit fixes issue DeepLabCut#3165, with the GUI DictViewer configuration editor widget.

A hack was implemented that prevented editing the config fields, using a custom QItemDelegate that caused segmentation fault when converting invalid return values in C++. This commit removes the custom delegate. The user can now edit all fieldnames
deruyter92 requested a review from Copilot January 9, 2026 13:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Pull request overview

This PR removes a workaround that prevented users from editing configuration field names in the GUI's DictViewer widget. The custom delegate was causing segmentation faults and unnecessarily restricted editing capabilities. The change enables full editing of configuration fields while resolving the crash issue.

Key changes:

  • Removed the CustomDelegate class that was blocking edits to the first column
  • Removed the delegate assignment from the DictViewer initialization

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

MMathisLab self-requested a review January 9, 2026 14:50
MMathisLab added the bug fix! fix for a real buggy one... label Jan 9, 2026
MMathisLab merged commit 00420b9 into DeepLabCut:main Jan 9, 2026
10 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix! fix for a real buggy one...

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL