Save the log too, when saving..

This commit is contained in:
dfighter1985 2014-08-27 20:30:16 +02:00
parent dfdda1bb9c
commit ddd4f9f82c

View file

@ -319,6 +319,8 @@ namespace GeorgesQt
void CGeorgesTreeViewDialog::write( ) void CGeorgesTreeViewDialog::write( )
{ {
NLGEORGES::CForm *form = static_cast< NLGEORGES::CForm* >( m_form );
form->Header.Log = m_ui.logEdit->toPlainText().toUtf8().constData();
NLMISC::COFile file; NLMISC::COFile file;
std::string s = NLMISC::CPath::lookup(loadedForm.toAscii().data(), false); std::string s = NLMISC::CPath::lookup(loadedForm.toAscii().data(), false);