From 143ceedf76dd83d57e29878bba87a711d95235fd Mon Sep 17 00:00:00 2001 From: gambas Date: Thu, 14 Sep 2017 03:28:41 +0200 Subject: [PATCH] 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. --- app/src/gambas3/.src/Project/Farm/FFarmLogin.class | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/gambas3/.src/Project/Farm/FFarmLogin.class b/app/src/gambas3/.src/Project/Farm/FFarmLogin.class index ddd689abd..dff340321 100644 --- a/app/src/gambas3/.src/Project/Farm/FFarmLogin.class +++ b/app/src/gambas3/.src/Project/Farm/FFarmLogin.class @@ -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