X-Git-Url: http://Server1/repobrowser/?p=xestiacalendar%2F.git;a=blobdiff_plain;f=source%2Fwidgets%2FXCCalendarManipulator.cpp;h=79ed65eb043fe0fbc526793548537d6ca6baff57;hp=4ca64bc9aced30497f2aa2c475d5bf8714beae65;hb=8c3ffd801b8a316dcaf51f988002e324979d9bbd;hpb=1cd59852938964f4ed718d0447c8417c4a5e53aa diff --git a/source/widgets/XCCalendarManipulator.cpp b/source/widgets/XCCalendarManipulator.cpp index 4ca64bc..79ed65e 100644 --- a/source/widgets/XCCalendarManipulator.cpp +++ b/source/widgets/XCCalendarManipulator.cpp @@ -247,16 +247,16 @@ void XCCalendarManipulator::ShowCalendarsList(wxCommandEvent &event){ calendarList->UpdateCalendarList(dataStorage); #if defined(__APPLE__) - if (calendarListShow == false) - { - calendarList->Show(); - calendarListShow = true; - } - else - { - calendarList->Hide(); - calendarListShow = false; - } + if (calendarListShow == false) + { + calendarList->Show(); + calendarListShow = true; + } + else + { + calendarList->Hide(); + calendarListShow = false; + } #else calendarList->Popup(); #endif