Skip to content

Commit

Permalink
Update file dialog title
Browse files Browse the repository at this point in the history
Since we now can save not only in KML format, the title shouldn't
mention it anymore.
  • Loading branch information
10110111 committed Apr 20, 2024
1 parent 60bf3ef commit bd4fbcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/AstroCalcDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5055,7 +5055,7 @@ void AstroCalcDialog::saveSolarEclipseMap()
const auto eclipseDateStr = QString("-%1-%2-%3").arg(year).arg(month).arg(day);
QString selectedFilter("(*.kml)");
QString filePath = QFileDialog::getSaveFileName(&StelMainView::getInstance(),
q_("Save KML as..."),
q_("Save map as..."),
QDir::homePath() + "/solareclipse"+eclipseDateStr+".kml",
q_("KML map (*.kml);;PNG equirectangular map (*.png)"),
&selectedFilter);
Expand Down

0 comments on commit bd4fbcc

Please sign in to comment.