Save the log too, when saving..

--HG--
branch : dfighter-tools
This commit is contained in:
dfighter1985 2014-08-27 20:30:16 +02:00
parent e6aa34584a
commit 58b50e7d7e

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);