mirror of https://github.com/stella-emu/stella.git
fixed missing log file saving
This commit is contained in:
parent
9ad484f62d
commit
cb75f794db
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue