We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad9bad9 commit 1bdc4ebCopy full SHA for 1bdc4eb
src/FlowScene.cpp
@@ -500,10 +500,6 @@ void
500
FlowScene::
501
load()
502
{
503
- clearScene();
504
-
505
- //-------------
506
507
QString fileName =
508
QFileDialog::getOpenFileName(nullptr,
509
tr("Open Flow Scene"),
@@ -518,6 +514,8 @@ load()
518
514
if (!file.open(QIODevice::ReadOnly))
519
515
return;
520
516
517
+ clearScene();
+
521
QByteArray wholeFile = file.readAll();
522
523
loadFromMemory(wholeFile);
0 commit comments