diff -r 658ad3bc0c8a -r dfbc371b7280 historywindow.cpp --- a/historywindow.cpp Sat Mar 31 09:28:27 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;