diff GUI/GUIWindow.cpp @ 2557:bbef1435eb8d

.
author Ritor1
date Wed, 13 May 2015 20:09:00 +0600
parents 4008b2f34be0
children 5d6fb8eb023c
line wrap: on
line diff
--- a/GUI/GUIWindow.cpp	Tue May 12 12:03:30 2015 +0200
+++ b/GUI/GUIWindow.cpp	Wed May 13 20:09:00 2015 +0600
@@ -1246,7 +1246,7 @@
     }
 
     //GUIWindow* pWindow = &pWindowList[uNextFreeWindowID];
-    pWindowList[uNextFreeWindowID] = this;
+    pWindowList[uNextFreeWindowID] = this;//sometimes uNextFreeWindowID == 20. it's result crash
     this->uFrameWidth = uWidth;
     this->uFrameHeight = uHeight;