Author: lluis
Date: 2008-01-22 06:50:46 -0500 (Tue, 22 Jan 2008)
New Revision: 93513
Modified:
branches/monodevelop/main/1.0/src/core/MonoDevelop.Dock/ChangeLog
branches/monodevelop/main/1.0/src/core/MonoDevelop.Dock/DockContainer.cs
Log:
2008-01-22 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* DockContainer.cs: Added missing null check.
Modified: branches/monodevelop/main/1.0/src/core/MonoDevelop.Dock/ChangeLog
===================================================================
--- branches/monodevelop/main/1.0/src/core/MonoDevelop.Dock/ChangeLog
2008-01-22 11:50:07 UTC (rev 93512)
+++ branches/monodevelop/main/1.0/src/core/MonoDevelop.Dock/ChangeLog
2008-01-22 11:50:46 UTC (rev 93513)
@@ -1,3 +1,7 @@
+2008-01-22 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
+ * DockContainer.cs: Added missing null check.
+
2008-01-18 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* DockObject.cs: Use invariant locale to store doubles. Fixes bug
#354567.
Modified:
branches/monodevelop/main/1.0/src/core/MonoDevelop.Dock/DockContainer.cs
===================================================================
--- branches/monodevelop/main/1.0/src/core/MonoDevelop.Dock/DockContainer.cs
2008-01-22 11:50:07 UTC (rev 93512)
+++ branches/monodevelop/main/1.0/src/core/MonoDevelop.Dock/DockContainer.cs
2008-01-22 11:50:46 UTC (rev 93513)
@@ -374,7 +374,7 @@
internal void DockInPlaceholder (DockItem item)
{
- if (!placeholderWindow.Visible)
+ if (placeholderWindow == null ||
!placeholderWindow.Visible)
return;
item.Status = DockItemStatus.Dockable;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches