From 16e9630b79f0a7a90c6cedb6781175bb8b337dc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 29 Apr 2017 12:11:08 +0200 Subject: New upstream version 4.3.0 --- app/bin/cprofile.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'app/bin/cprofile.c') diff --git a/app/bin/cprofile.c b/app/bin/cprofile.c index 99a3a6d..d8bbc24 100644 --- a/app/bin/cprofile.c +++ b/app/bin/cprofile.c @@ -716,6 +716,7 @@ static void DoProfileDone( void * junk ) wHide( profileW ); ClrAllTrkBits( TB_PROFILEPATH ); MainRedraw(); + MapRedraw(); #endif Reset(); } @@ -725,8 +726,10 @@ static void DoProfileClear( void * junk ) { profElem_da.cnt = 0; station_da.cnt = 0; - if (ClrAllTrkBits( TB_PROFILEPATH )) + if (ClrAllTrkBits( TB_PROFILEPATH )) { MainRedraw(); + MapRedraw(); + } pathStartTrk = pathEndTrk = NULL; RedrawProfileW(); } @@ -1277,8 +1280,10 @@ static STATUS_T CmdProfile( wAction_t action, coOrd pos ) profElem_da.cnt = 0; station_da.cnt = 0; RedrawProfileW(); - if ( ClrAllTrkBits( TB_PROFILEPATH ) ) + if ( ClrAllTrkBits( TB_PROFILEPATH ) ) { MainRedraw(); + MapRedraw(); + } pathStartTrk = NULL; SetAllTrackSelect( FALSE ); profileUndo = FALSE; @@ -1333,8 +1338,10 @@ static STATUS_T CmdProfile( wAction_t action, coOrd pos ) case C_CANCEL: wHide(profileW); HilightProfileElevations( FALSE ); - if (ClrAllTrkBits(TB_PROFILEPATH)) + if (ClrAllTrkBits(TB_PROFILEPATH)) { MainRedraw(); + MapRedraw(); + } return C_TERMINATE; case C_REDRAW: if ( wWinIsVisible(profileW) ) { -- cgit v1.2.3