Make config_widget a class method

Missed the @classmethod for the config_widget methods. This is needed to
not break the extended driver.
This commit is contained in:
David 2016-05-28 19:39:50 +10:00
parent 4aee79ae59
commit 9c97808328

View File

@ -1055,6 +1055,7 @@ class KOBO(USBMS):
paths[idx] = tf.name
return paths
@classmethod
def config_widget(self):
# TODO: Cleanup the following
self.current_friendly_name = self.gui_name
@ -2774,6 +2775,7 @@ class KOBOTOUCH(KOBO):
if show_debug:
debug_print("KoboTouch:set_series - end")
@classmethod
def config_widget(self):
# TODO: Cleanup the following
self.current_friendly_name = self.gui_name