File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- project (wrlview VERSION 0.2.1 )
1
+ project (wrlview VERSION 0.2.2 )
2
2
3
3
if (NOT PROJECT_VERSION_TWEAK )
4
4
set (PROJECT_VERSION_TWEAK 0 )
Original file line number Diff line number Diff line change @@ -654,10 +654,11 @@ MainWindow::load(const QString filename)
654
654
if (nullptr != this ->scene )
655
655
{
656
656
this ->root ->removeChild (this ->scene );
657
- this ->filename .clear ();
658
- this ->setWindowTitle (" wrlview" );
659
657
}
660
658
659
+ this ->filename = absoluteFilename;
660
+ this ->setWindowTitle (" wrlview" );
661
+
661
662
#if defined(HAVE_SOSTLFILEKIT_H) && defined(HAVE_SOSTLFILEKIT_CONVERT)
662
663
if (absoluteFilename.endsWith (" .stl" , Qt::CaseInsensitive))
663
664
{
@@ -695,7 +696,6 @@ MainWindow::load(const QString filename)
695
696
}
696
697
697
698
this ->root ->addChild (this ->scene );
698
- this ->filename = absoluteFilename;
699
699
this ->setWindowTitle (absoluteFilename + " - wrlview" );
700
700
}
701
701
You can’t perform that action at this time.
0 commit comments