D11962: Fix problems with unnesesary unsaved empty entries when load worksheet from file

Nikita Sirgienko noreply at phabricator.kde.org
Thu Apr 5 15:15:05 UTC 2018


sirgienko added a comment.


  In D11962#240605 <https://phabricator.kde.org/D11962#240605>, @asemke wrote:
  
  > A simple
  >
  >   if (m_isLoadingFromFile)
  >       return;
  >
  >
  > in the beginning of Worksheet::appendCommandEntry() should do the same, right? With this we don't need any changes in worksheetentry.cpp and any Worksheet::isLoadingFromFile().
  
  
  In `Worksheet::load(QIODevice* device)` we also `appendCommandEntry()`.

REPOSITORY
  R55 Cantor

REVISION DETAIL
  https://phabricator.kde.org/D11962

To: sirgienko, #cantor, asemke
Cc: #cantor, #kde_edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20180405/a29d2d80/attachment-0001.html>


More information about the kde-edu mailing list