diff options
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r-- | src/mainview.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp index 1ad452ea..fb6a1d78 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -422,9 +422,10 @@ void MainView::closeTab(int index, bool del) { if (ReKonfig::lastTabClosesWindow()) { - // closing window... - MainWindow *w = qobject_cast<MainWindow *>(parent()); - w->close(); + emit closeWindow(); +// // closing window... +// MainWindow *w = qobject_cast<MainWindow *>(parent()); +// w->close(); return; } |