summaryrefslogtreecommitdiff
path: root/kberylsettings/pluginframe.py
diff options
context:
space:
mode:
authornatural <natural>2006-12-31 09:54:31 +0000
committernatural <natural>2006-12-31 09:54:31 +0000
commite7ae2a8a5f3bcf1669e1a7514540c451cafbc9b6 (patch)
tree7bec160d7559b4b2f1ddab7dd45f155f59f035c2 /kberylsettings/pluginframe.py
parent0aa170e67595b83e49e72d78f41c27a48d3059ad (diff)
downloadkberylsettings-e7ae2a8a5f3bcf1669e1a7514540c451cafbc9b6.tar.gz
kberylsettings-e7ae2a8a5f3bcf1669e1a7514540c451cafbc9b6.tar.bz2
Added setting-editor-widgets-dirty-so-prompt before exit check.
Cleaned up the queryClose handling, too.
Diffstat (limited to 'kberylsettings/pluginframe.py')
-rw-r--r--kberylsettings/pluginframe.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/kberylsettings/pluginframe.py b/kberylsettings/pluginframe.py
index bc48399..5772cca 100644
--- a/kberylsettings/pluginframe.py
+++ b/kberylsettings/pluginframe.py
@@ -193,7 +193,10 @@ class BasicPluginView(BasicListView):
try:
return a.value[0].Name == b[0].Name and a.value[1] == b[1]
except:
- pass
+ try:
+ return a.value[1].Name == b[0].Name and a.value[0] == b[1]
+ except:
+ pass
other = (plugin, setting)
for item in self:
if match(item, other):