Quintiq file version 2.0
#parent: #root
Method HasSelectedCalendar () as Boolean id:Method_LibCal_dlgEditCalendar_HasSelectedCalendar
{
  #keys: '[131094.1.540984601]'
  Body:
  [*
    feedback    := FeedbackObject::LocalFeedback(); 
    hasCalendar := not isnull( selCalendar.Data() );
    
    if( not feedback.CheckHard( hasCalendar ) )
    {
      feedback.AddHard( Translations::Calendar_NotSelected() );
    }
    
    return hasCalendar;
  *]
}
