diff --git a/FloatingGlucose/FormGlucoseSettings.cs b/FloatingGlucose/FormGlucoseSettings.cs index 05bbf17..b71b432 100644 --- a/FloatingGlucose/FormGlucoseSettings.cs +++ b/FloatingGlucose/FormGlucoseSettings.cs @@ -148,6 +148,7 @@ private void FormGlucoseSettings_Load(object sender, EventArgs e) { this.cbDataSource.SelectedItem = plugin; plugin.Instance.OnPluginSelected(this); + this.btnBrowse.Visible = activePlugin.RequiresBrowseButton; } @@ -378,7 +379,7 @@ private void btnBrowse_Click(object sender, EventArgs e) dialog.Filter = selectedPlugin.Instance.BrowseDialogFileFilter; dialog.InitialDirectory = Path.GetPathRoot(Environment.SystemDirectory); - dialog.Title = "Please select a file for the plugin to handle"; + dialog.Title = "select a file for the plugin to handle"; if (dialog.ShowDialog() == DialogResult.OK) { this.txtDataSourceLocation.Text = dialog.FileName;