D21409: KWrite: Implement sceleton KTextEditor::Application
noreply at phabricator.kde.org
Sun May 26 06:37:12 BST 2019
dhaumann added a comment.
I think this is correct: you can do File > open multiple times, then you have multiple KWrite windows. To the user it looks as if this are multiple processes. Calling quit() in this case would also quit all other KWrite main windows, which is clearly wrong.
I suggest the following:
- if there is only one KWrite window in the KWrite process, quit().
- if there are multiple windows, call close().
But since this is the KTextEditor:: Application interface, just calling quit() here should be correct.
The other part of the fix should be done in the vi mode q command.
To: michalhumpula, cullmann
Cc: loh.tar, dhaumann, kwrite-devel, domson, michaelh, ngraham, demsking, cullmann, sars
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KWrite-Devel