parameters: (self)
return_statement: return True
docstring: This method runs as a callback when the user selects the ok button.
  
          Recomputes the document, and leave edit mode.
docstring_summary: This method runs as a callback when the user selects the ok button.
docstring_tokens: This method runs as a callback when the user selects the ok button .
function: def accept(self):
          """This method runs as a callback when the user selects the ok button.
  
          Recomputes the document, and leave edit mode.
          """
  
          FreeCAD.ActiveDocument.recompute()
          FreeCADGui.ActiveDocument.resetEdit()
          return True
function_tokens: def accept ( self ) : FreeCAD . ActiveDocument . recompute ( ) FreeCADGui . ActiveDocument . resetEdit ( ) return True