forked from projecthamster/hamster
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reset position in FactTree only when needed
Right now FactTree.set_facts() is always resetting the position of the view, bringing the user back to the top but this function is called regularly to update with the latest data even when the user has not changed anything in the selection widget... which is really annoying when you are reviewing the list of facts. Let's distinguish between both cases with a "reset=True" attribute that we use when we generate an entirely new set of facts to be displayed. This makes projecthamster#623 obsolete. Thanks to @mwilck for the initial analysis. Fixes projecthamster#594
- Loading branch information
Showing
2 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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