Skip to content

Commit 4445ad3

Browse files
committed
Added storing save path when open action is triggered
1 parent 21814be commit 4445ad3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

omodsim/mainwindow.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ void MainWindow::on_actionOpen_triggered()
323323
const auto filename = QFileDialog::getOpenFileName(this, QString(), _savePath, tr("All files (*)"));
324324
if(filename.isEmpty()) return;
325325

326+
_savePath = QFileInfo(filename).absoluteDir().absolutePath();
326327
openFile(filename);
327328
}
328329

0 commit comments

Comments
 (0)