make sure included menus get remembered, in case they're modified
This commit is contained in:
parent
cd73887b11
commit
0f23536eff
1 changed files with 3 additions and 0 deletions
|
@ -477,6 +477,9 @@ bool MenuCreator::createFromFile(const string &filename,
|
||||||
if (require_begin && !getStart(parser, label, m_stringconvertor))
|
if (require_begin && !getStart(parser, label, m_stringconvertor))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
// save menu filename, so we can check if it changes
|
||||||
|
Fluxbox::instance()->saveMenuFilename(real_filename.c_str());
|
||||||
|
|
||||||
startFile();
|
startFile();
|
||||||
parseMenu(parser, inject_into, m_stringconvertor);
|
parseMenu(parser, inject_into, m_stringconvertor);
|
||||||
endFile();
|
endFile();
|
||||||
|
|
Loading…
Reference in a new issue