From cb75f794dbb47bef183062f03c9b960b3f9455da Mon Sep 17 00:00:00 2001 From: thrust26 Date: Mon, 27 Jul 2020 09:01:54 +0200 Subject: [PATCH] fixed missing log file saving --- src/gui/LoggerDialog.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()); } }