mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
Fix typo and copy paste error
Reported at the users forum
This commit is contained in:
@@ -923,7 +923,7 @@ MainWindow::importPerspective()
|
||||
}
|
||||
|
||||
// import a new perspective from a file
|
||||
QString fileName = QFileDialog::getOpenFileName(this, tr("Select Perspective file to export"), "", tr("GoldenCheetah Perspective Files (*.gchartset)"));
|
||||
QString fileName = QFileDialog::getOpenFileName(this, tr("Select Perspective file to import"), "", tr("GoldenCheetah Perspective Files (*.gchartset)"));
|
||||
if (fileName.isEmpty()) {
|
||||
QMessageBox::critical(this, tr("Import Perspective"), tr("No perspective file selected!"));
|
||||
} else {
|
||||
|
||||
@@ -253,7 +253,7 @@ PerspectiveDialog::exportPerspectiveClicked()
|
||||
|
||||
// export the current perspective to a file
|
||||
QString suffix;
|
||||
QString fileName = QFileDialog::getSaveFileName(this, tr("Export Persepctive"),
|
||||
QString fileName = QFileDialog::getSaveFileName(this, tr("Export Perspective"),
|
||||
QDir::homePath()+"/"+ typedesc + " " + current->title() + ".gchartset",
|
||||
("*.gchartset;;"), &suffix, QFileDialog::DontUseNativeDialog); // native dialog hangs when threads in use (!)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user