diff options
author | Timo Sirainen <cras@irssi.org> | 2001-05-17 20:52:43 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-05-17 20:52:43 +0000 |
commit | a914b606894957969cd32906fccbc9cf3d377e4e (patch) | |
tree | 3cf615fd7c56ecb4f121d46b5a112ba3f38288ad /src/fe-text | |
parent | c2b2d45bd62ce410ba7ca8ac920d340b9ed1a527 (diff) | |
download | irssi-a914b606894957969cd32906fccbc9cf3d377e4e.zip |
don't crash with /WINDOW HIDE
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1504 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r-- | src/fe-text/gui-windows.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-text/gui-windows.c b/src/fe-text/gui-windows.c index f25a12a6..9a199cdd 100644 --- a/src/fe-text/gui-windows.c +++ b/src/fe-text/gui-windows.c @@ -194,6 +194,8 @@ void gui_window_reparent(WINDOW_REC *window, MAIN_WINDOW_REC *parent) if (oldparent == parent) return; + textbuffer_view_set_window(WINDOW_GUI(window)->view, NULL); + WINDOW_GUI(window)->parent = parent; if (parent->height != oldparent->height || parent->width != oldparent->width) |