From: Abdelrazak Younes Date: Sun, 9 Dec 2007 08:43:08 +0000 (+0000) Subject: Fix Drag&Drop. LFUN_FILE_OPEN is not handled by GuiView::dispatch() (yet). X-Git-Tag: 1.6.10~7005 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2bdb10271c312879edf9a0878c563a599e00bedd;p=features.git 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 --- diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 42e5e1ea67..5752fb8948 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -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)); } }