[modules] Re-enable preconfigured on-click actions

This commit is contained in:
Tobias Witek 2016-11-05 15:28:33 +01:00
parent c821deec1c
commit 26f5fd3064
7 changed files with 51 additions and 41 deletions

View file

@ -48,7 +48,7 @@ class Module(object):
def state(self, widget):
return "default"
def instance(self, widget):
return self._alias if self._alias else self.__module__.split(".")[-1]
def instance(self, widget=None):
return self.__module__.split(".")[-1]
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4