Fix Drag&Drop. LFUN_FILE_OPEN is not handled by GuiView::dispatch() (yet).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22029 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-12-09 08:43:08 +00:00
parent a1b9eedee8
commit 2bdb10271c

View File

@ -462,7 +462,7 @@ void GuiView::dropEvent(QDropEvent* event)
string const file = support::os::internal_path(fromqstr(
files.at(i).toLocalFile()));
if (!file.empty())
dispatch(FuncRequest(LFUN_FILE_OPEN, file));
lyx::dispatch(FuncRequest(LFUN_FILE_OPEN, file));
}
}