Skip to content
Permalink
Browse files

Fix texteditor loading new data underneath old data

  • Loading branch information...
llelectronics committed Sep 26, 2019
1 parent 51f91b7 commit 0071588f1818934e9ef8621f951aab9b1915a565
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/fileio.h
@@ -22,6 +22,7 @@ public slots:

QString line;
QTextStream stream(&file);
_txtData = "";
while (!stream.atEnd()){
line = stream.readLine();
_txtData += line+"\n";

0 comments on commit 0071588

Please sign in to comment.
You can’t perform that action at this time.