Draw file browser on refresh
This commit is contained in:
parent
05f5a80e97
commit
4ac7086e4d
@ -689,12 +689,14 @@ class fileBrowser(Listbox):
|
|||||||
def expand(self):
|
def expand(self):
|
||||||
self.dir = self.getDir()
|
self.dir = self.getDir()
|
||||||
self.items = self.make_list()
|
self.items = self.make_list()
|
||||||
self.lastDraw = None
|
# self.lastDraw = None
|
||||||
|
self.draw()
|
||||||
|
|
||||||
def collapse(self):
|
def collapse(self):
|
||||||
self.dir = self.back_directory
|
self.dir = self.back_directory
|
||||||
self.items = self.make_list()
|
self.items = self.make_list()
|
||||||
self.lastDraw = None
|
# self.lastDraw = None
|
||||||
|
self.draw()
|
||||||
|
|
||||||
def handleKey(self, c):
|
def handleKey(self, c):
|
||||||
if c == -1:
|
if c == -1:
|
||||||
|
Loading…
Reference in New Issue
Block a user