#include "lyx_main.h" // for lastfiles
#include "bufferlist.h"
#include "buffer.h"
-#include "converter.h"
+#include "format.h"
#include "exporter.h"
#include "importer.h"
#include "FloatList.h"
{
if (kind_ != Command)
return string();
-
+
// Get the keys bound to this action, but keep only the
// first one later
string bindings = toplevel_keymap->findbinding(action_);
items_.push_back(i);
return *this;
}
-
+
switch (i.kind()) {
case MenuItem::Command:
{
break;
default:
items_.push_back(i);
- }
+ }
return *this;
}