mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
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:
parent
a1b9eedee8
commit
2bdb10271c
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user