summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nephilim/plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nephilim/plugin.py b/nephilim/plugin.py
index 59f9a16..803a389 100644
--- a/nephilim/plugin.py
+++ b/nephilim/plugin.py
@@ -29,7 +29,7 @@ class Plugin(QtCore.QObject):
mpclient = None
# public, read-only
- loaded = None
+ loaded = None
_dock_widget = None
_settings = None
@@ -72,7 +72,7 @@ class Plugin(QtCore.QObject):
QtGui.QApplication.instance().main_win.add_dock(self.get_dock_widget(opts))
QtGui.QApplication.instance().main_win.restore_layout()
self.connect(self.mpclient, QtCore.SIGNAL('connect_changed'), self.set_enabled)
- self._loaded = True
+ self.loaded = True
def unload(self):
if not self._loaded:
return