def invoke(self, context, event): saveStaticConfig() return {'FINISHED'}
def invoke(self, context, event): bpy.types.ogre3d_exporter_panel.mPreference_view = False saveStaticConfig() return('FINISHED')