mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
Fixes editing of notes
Signed-off-by: Robert Carlsen <robert@robertcarlsen.net>
This commit is contained in:
@@ -1675,6 +1675,7 @@ void MainWindow::saveNotes()
|
||||
QTextStream out(&tmp);
|
||||
out << rideNotes->toPlainText();
|
||||
tmp.close();
|
||||
QFile::remove(notesPath);
|
||||
if (rename(tmpPath.toAscii().constData(),
|
||||
notesPath.toAscii().constData()) == -1) {
|
||||
QMessageBox::critical(
|
||||
|
||||
Reference in New Issue
Block a user