diff --git a/src/gui/LoggerDialog.cxx b/src/gui/LoggerDialog.cxx index ce60d20b7..bf53d80a0 100644 --- a/src/gui/LoggerDialog.cxx +++ b/src/gui/LoggerDialog.cxx @@ -124,10 +124,11 @@ void LoggerDialog::saveLogFile() stringstream out; out << Logger::instance().logMessages(); instance().frameBuffer().showMessage("Saving log file to " + node.getShortPath()); + node.write(out); } catch(...) { - instance().frameBuffer().showMessage("Error savin log file to " + node.getShortPath()); + instance().frameBuffer().showMessage("Error saving log file to " + node.getShortPath()); } }