<table><tr><td style="">sirgienko created this revision.<br />sirgienko added a reviewer: Cantor.<br />sirgienko added a project: Cantor.<br />Restricted Application added a subscriber: KDE Edu.<br />Restricted Application added a project: KDE Edu.<br />sirgienko requested review of this revision.
</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/D11701">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>It's a little uncomfortable, that when we save cantor worksheet file with name like 'foo' and saved name also have name 'foo', because we use file filter in open file dialog and our 'foo' file will be filtered. So I have added check, that if extension for saved worksheet file don't specify, then we append it.</p></div></div><br /><div><strong>TEST PLAN</strong><div><ol class="remarkup-list">
<li class="remarkup-list-item">Create worksheet</li>
<li class="remarkup-list-item">Save it with name <tt style="background: #ebebeb; font-size: 13px;">foo</tt> as Cantor worksheet</li>
<li class="remarkup-list-item">Check that the file have name <tt style="background: #ebebeb; font-size: 13px;">foo.cws</tt></li>
</ol>

<ol class="remarkup-list">
<li class="remarkup-list-item">Create worksheet</li>
<li class="remarkup-list-item">Save it with name <tt style="background: #ebebeb; font-size: 13px;">foo.cws</tt> as Cantor worksheet</li>
<li class="remarkup-list-item">Check that the file have name <tt style="background: #ebebeb; font-size: 13px;">foo.cws</tt></li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>R55 Cantor</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D11701">https://phabricator.kde.org/D11701</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/cantor_part.cpp</div></div></div><br /><div><strong>To: </strong>sirgienko, Cantor<br /><strong>Cc: </strong>Cantor, KDE Edu, narvaez, apol<br /></div>