changeset 26:3a396783bfed

Fixes #125: Tabs lose close buttons * Use "CreateNotebookTabLabelWithClose" to set label on name change instead of setting label text (added in ibboard:r100)
author IBBoard <dev@ibboard.co.uk>
date Fri, 28 Aug 2009 18:47:10 +0000
parents 01ddadfa9653
children 83c8945edac2
files FrmMainWindow.cs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/FrmMainWindow.cs	Sat Aug 22 19:48:03 2009 +0000
     1.2 +++ b/FrmMainWindow.cs	Fri Aug 28 18:47:10 2009 +0000
     1.3 @@ -230,7 +230,7 @@
     1.4  
     1.5  			if (widget!=null)
     1.6  			{
     1.7 -				unitsNotebook.SetTabLabelText(widget, newValue);
     1.8 +				unitsNotebook.SetTabLabel(widget, NotebookUtil.CreateNotebookTabLabelWithClose(unitsNotebook, widget, newValue));
     1.9  			}
    1.10  		}
    1.11