diff options
author | mbkma <[email protected]> | 2021-08-26 21:52:17 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-09-02 18:46:32 +0200 |
commit | 558d88aa8346a5534b24c5c9362d63e8e473d769 (patch) | |
tree | c12f11b71d20dcaab35ecdb6350f6729e7f63595 /Mozo | |
parent | d602c738e59ca59f6ac75b90e9fffe2e0ab63174 (diff) | |
download | mozo-558d88aa8346a5534b24c5c9362d63e8e473d769.tar.bz2 mozo-558d88aa8346a5534b24c5c9362d63e8e473d769.tar.xz |
fix adding and removing seperator item
Diffstat (limited to 'Mozo')
-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] |