changeset 1934:cc972f9d7f59

resolve delete(layout) patch
author Jorge Arellano Cid <jcid@dillo.org>
date Wed, 09 Mar 2011 17:20:27 -0300
parents cedef3974c12 (current diff) 50414b37588a (diff)
children d17e6e351eff
files src/uicmd.cc
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dw/layout.cc	Wed Mar 09 17:10:21 2011 -0300
+++ b/dw/layout.cc	Wed Mar 09 17:20:27 2011 -0300
@@ -219,6 +219,8 @@
 
 Layout::~Layout ()
 {
+   widgetAtPoint = NULL;
+
    if (scrollIdleId != -1)
       platform->removeIdle (scrollIdleId);
    if (resizeIdleId != -1)