D17599: Confirm closing if multiple tabs are open.

Shubham noreply at phabricator.kde.org
Wed Jan 9 17:08:45 GMT 2019

shubham added inline comments.


> dhaumann wrote in katemainwindow.cpp:1204
> Well, now that you found KateApp::self(), the next step is also to first check whether the MainWindow is the last one to close, since we support multiple mainwindows (View > New Window).
> That means, you have to also check:
>   && KateApp::self()->mainWindowsCount() == 1
> Otherwise the message box is raised even though the application is not shutting down.

But still this issue is not solved by this solution.

  R40 Kate


To: shubham, dhaumann, #kate, cullmann, sars
Cc: ngraham, pino, kwrite-devel, hase, michaelh, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190109/3dd301fc/attachment.html>

More information about the KWrite-Devel mailing list