diff --git a/CMakeLists.txt b/CMakeLists.txt index 65cad407..ad6c11d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,8 +16,8 @@ SET(CPACK_PACKAGE_CONTACT "Jon Gough") SET(VERSION_MAJOR "1") SET(VERSION_MINOR "3") -SET(VERSION_PATCH "30") -SET(VERSION_DATE "11/03/2017") +SET(VERSION_PATCH "31") +SET(VERSION_DATE "12/03/2017") SET(BUNDLE_DATA FALSE) IF( NOT CMAKE_BUILD_TYPE ) diff --git a/src/ocpn_draw_pi.cpp b/src/ocpn_draw_pi.cpp index f5f36744..c91b2635 100644 --- a/src/ocpn_draw_pi.cpp +++ b/src/ocpn_draw_pi.cpp @@ -2157,6 +2157,9 @@ bool ocpn_draw_pi::MouseEventHook( wxMouseEvent &event ) m_pSelectedEBL->Resize( m_cursor_lat, m_cursor_lon, true ); else m_pSelectedEBL->Resize(); + } else if(m_pSelectedPath->m_sTypeString == wxT("Guard Zone")) { + m_pSelectedGZ = (GZ *)m_pSelectedPath; + m_pSelectedGZ->UpdateGZ( m_pFoundODPoint, false ); } else if(m_pSelectedPath->m_sTypeString == wxT("PIL")) { m_pSelectedPIL = (PIL *)m_pSelectedPath; m_pSelectedPIL->Resize();