diff -r 185eb297dc1e -r e085f36e4d9f src/mainwindow.cpp --- a/src/mainwindow.cpp Tue Sep 28 00:10:29 2021 +0300 +++ b/src/mainwindow.cpp Tue Sep 28 00:21:09 2021 +0300 @@ -301,6 +301,7 @@ if (not newPath.isEmpty()) { this->currentDocument()->setModelPath(newPath); + this->ui->tabs->setTabText(this->ui->tabs->currentIndex(), QFileInfo{newPath}.fileName()); this->actionSave(); } }