make sure included menus get remembered, in case they're modified

This commit is contained in:
markt 2007-05-17 20:51:43 +00:00
parent cd73887b11
commit 0f23536eff

View file

@ -477,6 +477,9 @@ bool MenuCreator::createFromFile(const string &filename,
if (require_begin && !getStart(parser, label, m_stringconvertor))
return false;
// save menu filename, so we can check if it changes
Fluxbox::instance()->saveMenuFilename(real_filename.c_str());
startFile();
parseMenu(parser, inject_into, m_stringconvertor);
endFile();