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 )
22
33if (NOT PROJECT_VERSION_TWEAK)
44 set (PROJECT_VERSION_TWEAK 0)
Original file line number Diff line number Diff line change @@ -654,10 +654,11 @@ MainWindow::load(const QString filename)
654654 if (nullptr != this ->scene )
655655 {
656656 this ->root ->removeChild (this ->scene );
657- this ->filename .clear ();
658- this ->setWindowTitle (" wrlview" );
659657 }
660658
659+ this ->filename = absoluteFilename;
660+ this ->setWindowTitle (" wrlview" );
661+
661662#if defined(HAVE_SOSTLFILEKIT_H) && defined(HAVE_SOSTLFILEKIT_CONVERT)
662663 if (absoluteFilename.endsWith (" .stl" , Qt::CaseInsensitive))
663664 {
@@ -695,7 +696,6 @@ MainWindow::load(const QString filename)
695696 }
696697
697698 this ->root ->addChild (this ->scene );
698- this ->filename = absoluteFilename;
699699 this ->setWindowTitle (absoluteFilename + " - wrlview" );
700700}
701701
You can’t perform that action at this time.
0 commit comments