Changeset 3763
- Timestamp:
- 05/11/10 08:27:12 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/PluginView.cs
r3754 r3763 40 40 private IPluginDescription plugin; 41 41 42 public PluginView() : base() { 42 public PluginView() 43 : base() { 43 44 InitializeComponent(); 44 45 PopulateImageList(); 45 46 } 46 47 47 public PluginView(IPluginDescription plugin) : base() { 48 public PluginView(IPluginDescription plugin) 49 : base() { 48 50 InitializeComponent(); 49 51 PopulateImageList(); … … 72 74 if (localPlugin != null) { 73 75 stateTextBox.Text = localPlugin.PluginState.ToString(); 74 errorTextBox.Text = localPlugin.LoadingErrorInformation.Replace(Environment.NewLine, " "); 76 if (!string.IsNullOrEmpty(localPlugin.LoadingErrorInformation)) 77 errorTextBox.Text = localPlugin.LoadingErrorInformation.Replace(Environment.NewLine, " "); 75 78 toolTip.SetToolTip(stateTextBox, stateTextBox.Text + Environment.NewLine + errorTextBox.Text); 76 79 toolTip.SetToolTip(errorTextBox, errorTextBox.Text);
Note: See TracChangeset
for help on using the changeset viewer.