예제 #1
0
    def enable(self):
        if not self.config.get('use_exchange_rate'):
            self.gui.main_window.show_message(
                "Please enable exchange rates first!")
            return False

        return BasePlugin.enable(self)
    def enable(self):
        if not self.config.get('use_exchange_rate'):
            self.gui.main_window.show_message("Please enable exchange rates first!")
            return False

        return BasePlugin.enable(self)
예제 #3
0
 def enable(self):
     return BasePlugin.enable(self)