Reset tooltip if evaluation message is empty
This commit is contained in:
parent
f323ae44ff
commit
9945cc139b
@ -223,6 +223,8 @@ namespace BreCalClient
|
|||||||
|
|
||||||
if (!string.IsNullOrEmpty(this.ShipcallControlModel?.Shipcall?.EvaluationMessage))
|
if (!string.IsNullOrEmpty(this.ShipcallControlModel?.Shipcall?.EvaluationMessage))
|
||||||
this.imageEvaluation.ToolTip = this.ShipcallControlModel?.Shipcall?.EvaluationMessage;
|
this.imageEvaluation.ToolTip = this.ShipcallControlModel?.Shipcall?.EvaluationMessage;
|
||||||
|
else
|
||||||
|
this.imageEvaluation.ToolTip = null;
|
||||||
|
|
||||||
this.textBlockBerth.Text = this.ShipcallControlModel?.Berth;
|
this.textBlockBerth.Text = this.ShipcallControlModel?.Berth;
|
||||||
this.textBlockCallsign.Text = this.ShipcallControlModel?.Ship?.Callsign;
|
this.textBlockCallsign.Text = this.ShipcallControlModel?.Ship?.Callsign;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user