diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2008-07-04 14:15:55 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2008-07-04 14:15:55 +0200 |
commit | 8e07fd436cfbf02fbf43c9e221badb55acdb546a (patch) | |
tree | 4b7df70393ecb9a1b3e5643ffb7aed4abcfd53cf /portato/gui/windows | |
parent | dff240a07fc6150cf313db3f745f226f0203fe51 (diff) | |
download | portato-8e07fd436cfbf02fbf43c9e221badb55acdb546a.tar.gz portato-8e07fd436cfbf02fbf43c9e221badb55acdb546a.tar.bz2 portato-8e07fd436cfbf02fbf43c9e221badb55acdb546a.zip |
Some more dependency awareness
Diffstat (limited to '')
-rw-r--r-- | portato/gui/windows/main.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py index b4e6353..479274d 100644 --- a/portato/gui/windows/main.py +++ b/portato/gui/windows/main.py @@ -1082,6 +1082,9 @@ class MainWindow (Window): def save_plugin (p): def _save (): + if p.status == p.STAT_HARD_DISABLED: + return "" + return int(p.status >= p.STAT_ENABLED) return _save |