Reset tooltip if evaluation message is empty

This commit is contained in:
Daniel Schick 2023-12-14 16:09:46 +01:00
parent f323ae44ff
commit 9945cc139b

View File

@ -223,6 +223,8 @@ namespace BreCalClient
if (!string.IsNullOrEmpty(this.ShipcallControlModel?.Shipcall?.EvaluationMessage))
this.imageEvaluation.ToolTip = this.ShipcallControlModel?.Shipcall?.EvaluationMessage;
else
this.imageEvaluation.ToolTip = null;
this.textBlockBerth.Text = this.ShipcallControlModel?.Berth;
this.textBlockCallsign.Text = this.ShipcallControlModel?.Ship?.Callsign;