summaryrefslogtreecommitdiff
path: root/app/bin/cprofile.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-04-29 12:11:35 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-04-29 12:11:35 +0200
commitdcef13a23c06398c0c9b3145c08b28d1110bc169 (patch)
treedf8d3227b3d71fdd356b3c1e69c62533d1759f72 /app/bin/cprofile.c
parent3e11d9c0e6173fce8a482efed8d7f965e8bd6dfa (diff)
parent16e9630b79f0a7a90c6cedb6781175bb8b337dc1 (diff)
Merge tag 'upstream/4.3.0'
Upstream version 4.3.0
Diffstat (limited to 'app/bin/cprofile.c')
-rw-r--r--app/bin/cprofile.c13
1 files changed, 10 insertions, 3 deletions
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) ) {