Skip to content

Commit

Permalink
refix lost selections on column move
Browse files Browse the repository at this point in the history
  • Loading branch information
krunch3r76 committed Dec 26, 2021
1 parent ceab081 commit 3f97cf5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ https://user-images.githubusercontent.com/46289600/145339421-674182ae-457d-4111-
```bash
$ git clone https://github.com/krunch3r76/gc__listoffers.git
$ cd gc__listoffers
$ git checkout v0.1.16
$ git checkout v0.1.17
$ python3 -m venv myvenv
$ . myvenv/bin/activate
(myvenv) $ pip install yapapi
Expand Down
4 changes: 3 additions & 1 deletion appview/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,9 @@ def clearit(self, retain_selection=False):
debug.dlog("CLEARING SELECTION")
self.last_cleared_selection.clear()
else:
self.last_cleared_selection = self.list_selection_addresses()
if len(self.list_selection_addresses()) > 0: # assume update needed
debug.dlog(f"replacing last_cleared_selection {self.last_cleared_selection} with {self.list_selection_addresses()}")
self.last_cleared_selection = self.list_selection_addresses()

children=self.get_children()
if len(children) > 0:
Expand Down

0 comments on commit 3f97cf5

Please sign in to comment.