(self, event)
| 621 | |
| 622 | |
| 623 | def change_dir(self, event): |
| 624 | #Delete selected file list |
| 625 | self.selected_file_indices.clear() |
| 626 | #Show message box |
| 627 | if(self.current_file_index >= 0 and self.current_file_index < len(self.file_list) and self.mouse_x < self.max_width): |
| 628 | if(self.ftpController.is_dir(self.detailed_file_list[self.current_file_index])): |
| 629 | try: |
| 630 | self.ftpController.ftp.cwd(self.file_list[self.current_file_index]) |
| 631 | self.update_file_list() |
| 632 | except: |
| 633 | self.update_status_red('Unable to open directory, try reconnecting.') |
| 634 | self.lock_status_bar() |
| 635 | |
| 636 | def goto_window_ask(self): |
| 637 | self.goto_window = Filedialogs.name_dialog(self.master, 'Goto', self.goto_path, self.goto_icon, 'Enter path:') |
nothing calls this directly
no test coverage detected