diff options
-rw-r--r-- | Mozo/MainWindow.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mozo/MainWindow.py b/Mozo/MainWindow.py index 79ac373..31b2135 100644 --- a/Mozo/MainWindow.py +++ b/Mozo/MainWindow.py @@ -100,7 +100,7 @@ class MainWindow: update_items = False update_type = None item_id = None - if iter and items[iter][3].get_desktop_file_path(): + if iter and (isinstance(items[iter][3], MateMenu.TreeSeparator) or items[iter][3].get_desktop_file_path()): update_items = True if isinstance(items[iter][3], MateMenu.TreeDirectory): item_id = os.path.split(items[iter][3].get_desktop_file_path())[1] |