]> git.lyx.org Git - features.git/commitdiff
Fix Drag&Drop. LFUN_FILE_OPEN is not handled by GuiView::dispatch() (yet).
authorAbdelrazak Younes <younes@lyx.org>
Sun, 9 Dec 2007 08:43:08 +0000 (08:43 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 9 Dec 2007 08:43:08 +0000 (08:43 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22029 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiView.cpp

index 42e5e1ea67854832047c6f9ee9726ced2cf324d3..5752fb8948b7f6f4e3cec89b70bc52ec577cb7b5 100644 (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));
        }
 }