Farm dialog: Reset to the default farm if the current farm is removed from the farm list.

[DEVELOPMENT ENVIRONMENT]
* BUG: Farm dialog: Reset to the default farm if the current farm is removed from the farm list.
This commit is contained in:
gambas 2017-09-14 03:28:41 +02:00
parent fcfb9ebccd
commit 143ceedf76

View file

@ -52,6 +52,7 @@ Private Sub InitFarms()
cmbFarm.List = FarmRequest.GetFarms()
cmbFarm.Text = FarmIdentity.LastFarm
If Not cmbFarm.Text Then cmbFarm.Text = FarmIdentity.DEFAULT_FARM
End