Forces a reset if the class type is changed from instruments to scripts or vice versa

def class_type_changed(self):
        """
        Forces a reset if the class type is changed from instruments to scripts or vice versa
        """
        if self.source_path.text():
            self.reset_avaliable(self.source_path.text())