Skip to content

Commit

Permalink
GUI: Use item name as default file name when saving
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelpm54 authored and DrMcCoy committed Jul 4, 2018
1 parent 9d84683 commit 77a5d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ void MainWindow::saveItem() {
return;

QString fileName = QFileDialog::getSaveFileName(this,
tr("Save Aurora game resource file"), "",
tr("Save Aurora game resource file"), _currentItem->getName(),
tr("Aurora game resource (*.*)|*.*"));

if (fileName.isEmpty())
Expand Down

0 comments on commit 77a5d3d

Please sign in to comment.