#endif
#include FORMS_H_LOCATION
-#include "filedlg.h"
#include "insetinclude.h"
+#include "filedlg.h"
#include "buffer.h"
#include "bufferlist.h"
#include "debug.h"
void InsetInclude::Edit(int, int)
{
if(current_view->buffer()->isReadonly())
- WarnReadonly();
+ WarnReadonly(current_view->buffer()->fileName());
if (!form) {
form = create_form_include();
}
-string InsetInclude::getKeys() const
+string InsetInclude::getKeys(char delim) const
{
string lst;
if (loadIfNeeded()) {
Buffer *tmp = bufferlist.getBuffer(getFileName());
tmp->setParentName("");
- lst = tmp->getBibkeyList(',');
+ lst = tmp->getBibkeyList(delim);
tmp->setParentName(getMasterFilename());
}