def currentItem( self ):
        """
        Returns the current navigation item from the current path.
        
        :return     <XNavigationItem> || None
        """
        model = self.navigationModel()
        if ( not model ):
            return None
        
        return model.itemByPath(self.text())
def currentItem ( self ) : model = self . navigationModel ( ) if ( not model ) : return None return model . itemByPath ( self . text ( ) )
Returns the current navigation item from the current path.
        
        :return     <XNavigationItem> || None