/[RomCheater]/trunk/RomCheater/Docking/FloatingPEViewer.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/FloatingPEViewer.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/RomCheater/Docking/FloatingPEViewer.cs	2012/06/07 16:33:41	323
+++ trunk/RomCheater/Docking/FloatingPEViewer.cs	2012/06/07 17:44:20	325
@@ -67,7 +67,8 @@
                 peprops.SelectedObject = peData;
                 peprops.PropertySort = PropertySort.NoSort;
                 if (OnPEDataUpdated != null)
-                    OnPEDataUpdated(new PEViewerDataUpdatedEvent(this, peData));
+                    if (peData != null)
+                        OnPEDataUpdated(new PEViewerDataUpdatedEvent(this, peData));
             }
             else
             {

 

  ViewVC Help
Powered by ViewVC 1.1.22