diff -r 5522d1da7e37 -r 5378ed53ec92 historywindow.cpp --- a/historywindow.cpp Tue Jan 23 11:50:53 2007 +0000 +++ b/historywindow.cpp Tue Apr 10 13:22:55 2007 +0000 @@ -158,6 +158,15 @@ showwithmain=v; } +void HistoryWindow::closeEvent( QCloseEvent* ce ) +{ + ce->accept(); // TextEditor can be reopened with show() + showwithmain=false; + emit (windowClosed() ); + return; +} + + bool HistoryWindow::showWithMain() { return showwithmain;