<table><tr><td style="">loh.tar added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D21409">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>I thought it should try to quit the app not only close one window.</p></blockquote>

<p>It doesn't close here the application, just one window...but <strong>without</strong> this patch :-) But that may OK. How else can you remove one view?</p>

<p>Um, I don't really understand the description of this patch, but it's something regarding close/quite KWrite.</p>

<p>I have here a small patch that removes the "Close Document Action" completely. But I fear nobody will like this.<br />
KWrite is described as a simple application, and it has only one document to manage. For me make this close document no sense. Why should someone want this? You end up with an empty new document. When you want one, use the "New" action.</p>

<p>BTW: Open a new view disables the "Close Document Action" atm only in one view, not both.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R40 Kate</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D21409">https://phabricator.kde.org/D21409</a></div></div><br /><div><strong>To: </strong>michalhumpula, cullmann<br /><strong>Cc: </strong>loh.tar, dhaumann, kwrite-devel, domson, michaelh, ngraham, demsking, cullmann, sars<br /></div>