From 2bdb10271c312879edf9a0878c563a599e00bedd Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sun, 9 Dec 2007 08:43:08 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/GuiView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } } -- 2.39.2