code: def checkRestore(self, button):
      if self.bb.buttonRole(button) & BB.ResetRole and self.default:
          self.setCurrentColor(self.default)
  
label_desc: Use image node_id 3 for calling the ColorDialog obj's underlying member method code with example usage: obj.checkRestore(button) without return types