<table><tr><td style="">jsalatas created this revision.<br />Restricted Application added a subscriber: kwrite-devel.<br />Restricted Application added a project: Frameworks.
</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/D4802" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>File type set by user is being reset after opening a session and reloading (<a href="https://phabricator.kde.org/F5" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">F5</a>) a file with file type set by user.</p>
<p>The proposed solution is to save/restore the <tt style="background: #ebebeb; font-size: 13px;">m_fileTypeSetByUser</tt> variable in the session.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>see the video for a before/after demonstration.</p>
<p>http://youtu.be/EjOF3lVogfo</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R39 KTextEditor</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4802" rel="noreferrer">https://phabricator.kde.org/D4802</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/document/katedocument.cpp</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>jsalatas, Frameworks, KTextEditor<br /><strong>Cc: </strong>kwrite-devel<br /></div>