diff --git a/katrain/gui/widgets/filebrowser.py b/katrain/gui/widgets/filebrowser.py index 8c5f58a..9c679eb 100644 --- a/katrain/gui/widgets/filebrowser.py +++ b/katrain/gui/widgets/filebrowser.py @@ -175,6 +175,7 @@ Builder.load_string( filename: file_text.text browser: list_view on_favorites: link_tree.reload_favs(self.favorites) + on_selection: file_text.text = root.selection[0] if root.selection else "" BoxLayout: orientation: 'horizontal' spacing: 5 @@ -222,7 +223,6 @@ Builder.load_string( spacing: [5] TextInput: id: file_text - text: (root.selection and (root._shorten_filenames(root.selection) if root.multiselect else root.selection[0])) or self.text hint_text: i18n._('Filename') multiline: False height: '40dp' diff --git a/katrain/img/Previous-Mistake.png b/katrain/img/Previous-Mistake.png new file mode 100644 index 0000000..198afdb Binary files /dev/null and b/katrain/img/Previous-Mistake.png differ