mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
CtrlCore: drag and drop in line edit now works as expected. (#351)
This commit is contained in:
parent
fd1e50934b
commit
d9842ebe7e
1 changed files with 0 additions and 2 deletions
|
|
@ -448,8 +448,6 @@ int Ctrl::DoDragAndDrop(const char *fmts, const Image& sample, dword actions,
|
|||
ASSERT_(sCurrentMouseEvent__, "Drag can only start within LeftDrag!");
|
||||
if(!sCurrentMouseEvent__)
|
||||
return DND_NONE;
|
||||
if(data.GetCount() == 0)
|
||||
return DND_NONE; // Cocoa crashes if there is nothing to drop
|
||||
NSWindow *nswindow = (NSWindow *)GetTopCtrl()->GetNSWindow();
|
||||
ASSERT_(nswindow, "Ctrl is not in open window");
|
||||
if(!nswindow)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue