def currentRecord(self):
        """
        Returns the current record from the tree view.
        
        :return     <orb.Table> || None
        """
        item = self.currentItem()
        if isinstance(item, XOrbRecordItem):
            return item.record()
        return None
def currentRecord ( self ) : item = self . currentItem ( ) if isinstance ( item , XOrbRecordItem ) : return item . record ( ) return None
Returns the current record from the tree view.
        
        :return     <orb.Table> || None