You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
else: # if self.__count_selected > 1: # Why do i even > 1 very sustemp_i=0forfinself.files:
iff.is_selected: # first file is never selected because it is the .. onetemp_i-=1self.__delete_file(f)
ifself.__count_selected==0:
breaktemp_i+=1self.reload(keep_search_results=True)
self.__index_of_clicked_file=temp_iself.__clicked_file=self.files[temp_i]
self.__pre_clicked_file=None# hmm.. susself.select(self.__clicked_file)
The text was updated successfully, but these errors were encountered:
defdelete(self):
""" Deletes the selected file(s). | Not fully implemented yet """ifnotself.has_write_access(self.directory): returnifself.__count_selected==1andself.__clicked_file :
# checking under __delete_file too but nvm cause i have no time right nowifself.__clicked_file.name!='..':
self.__delete_file(self.__clicked_file)
self.files.pop(self.__index_of_clicked_file)
temp_i=self.__index_of_clicked_file-1self.resort() # replaced -> self.reload(keep_search_results=True)self.__index_of_clicked_file=temp_iself.__clicked_file=self.files[temp_i]
self.__pre_clicked_file=None# hmm.. sus?self.__pre_hov=Noneself.select(self.__clicked_file)
else: # if self.__count_selected > 1: # Why do i even > 1 very sustemp_i=0whileTrue:
ifself.files[temp_i].is_selected: # first file is never selected because it is the .. oneself.__delete_file(self.files[temp_i])
delself.files[temp_i]
temp_i-=1ifself.__count_selected==0:
breaktemp_i+=1self.resort() # replaced -> self.reload(keep_search_results=True)self.__index_of_clicked_file=temp_iself.__clicked_file=self.files[temp_i]
self.__pre_clicked_file=None# hmm.. susself.__pre_hov=Noneself.select(self.__clicked_file)
Issue:
TUIFIManager/TUIFIManager/__init__.py
Lines 667 to 682 in 0390f03
Fixed solution:
The text was updated successfully, but these errors were encountered: