diff -r 5522d1da7e37 -r dfbc371b7280 historywindow.cpp --- a/historywindow.cpp Tue Jan 23 11:50:53 2007 +0000 +++ b/historywindow.cpp Sat Mar 31 09:28:27 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;