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)
 def enable(self):
     return BasePlugin.enable(self)