changeset 455 | 1462e380b82b |
parent 421 | 5522d1da7e37 |
child 482 | 24c7902a3e14 |
1.1 --- a/historywindow.cpp Tue Jan 23 11:50:53 2007 +0000 1.2 +++ b/historywindow.cpp Wed Apr 11 09:21:16 2007 +0000 1.3 @@ -158,6 +158,15 @@ 1.4 showwithmain=v; 1.5 } 1.6 1.7 +void HistoryWindow::closeEvent( QCloseEvent* ce ) 1.8 +{ 1.9 + ce->accept(); // TextEditor can be reopened with show() 1.10 + showwithmain=false; 1.11 + emit (windowClosed() ); 1.12 + return; 1.13 +} 1.14 + 1.15 + 1.16 bool HistoryWindow::showWithMain() 1.17 { 1.18 return showwithmain;