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

Fix: "Highly recommended" exclusion patterns show missing patterns only #1665

Merged
merged 8 commits into from
Mar 15, 2024

Conversation

buhtz
Copy link
Member

@buhtz buhtz commented Mar 12, 2024

  • I joined the two used labels and now use Qt's Rich Text feature to realize the bold font.
  • I removed a second invisible column from the list widget. I was not able to find out why it is used. Maybe it was old code from a previous "solution"?

The result looks like this:
image

Or when all recommendations full filled:
image

Fix #1620
Close incomplete PR #1629

@@ -561,14 +561,10 @@ def __init__(self, parent):
.connect(self.excludeCustomSortOrder)

layout.addWidget(self.listExclude)
self.listExcludeCount = 0
Copy link
Member Author

Choose a reason for hiding this comment

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

This variable is related to the "second invisible column". Couldn't find a code location where it is used.

item = QTreeWidgetItem()
item.setText(0, pattern)
item.setData(0, Qt.ItemDataRole.UserRole, pattern)
self.listExcludeCount += 1
item.setText(1, str(self.listExcludeCount).zfill(6))
Copy link
Member Author

Choose a reason for hiding this comment

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

The second column (index 1).

@buhtz buhtz merged commit 1150ffb into bit-team:dev Mar 15, 2024
1 check passed
@buhtz buhtz deleted the fix/1620exclpattern branch March 15, 2024 06:57
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.

"Highly recommended" exclusion patterns in "Manage profiles" GUI dialog should show only missing patterns
2 participants