GiorgosXou / TUIFIManager

A cross-platform terminal-based termux-oriented file manager (and component), meant to be used with a Uni-Curses project or as is.
GNU General Public License v3.0
684 stars 13 forks source link

Renaming parent ".."-folder results in crush #101

Closed GiorgosXou closed 2 months ago

GiorgosXou commented 2 months ago

tuifi_issue_rename_parrent_dot_dot_Peek 2024-04-19 10-39

solved by adding condition:

        if self.__clicked_file and not self.__clicked_file == self.files[0]:

under def rename(self):