A Gentle Reminder to All Bitmessage Developers !!! #527
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-12-18#527
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Dear colleagues,
In order to make the Bitmessage code scalable and flexible in terms of making changes/adding features please use non-static references to objects.
For example I found all over the code statements like this:
self.ui.tabWidget.setTabText(6, 'Whitelist')
Instead it should be:
self.ui.tabWidget.setTabText(self.ui.tabWidget.indexOf(self.ui.blackwhitelist), 'Whitelist')
Otherwise, if you add a tab somewhere in between the existing tabs it will mess up everything.
Thanks !
Arnukk
Wise advice. Thank you.
You are welcome :)
I will review this.
I see there are plenty of places where it is like that, but I'm postponing it for 0.8 milestone because it's not an urgent issue. On some spots, me or other developers did fix it (@mirrorwish refactored some interfaces, I refactored the language selection combo box, that one was ugly).