mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-17 13:20:45 +00:00
Avoid missing DDE files because the loading dialog box/progress bar is open
This commit is contained in:
parent
210ffc090e
commit
9c653ef86e
@ -1,5 +1,5 @@
|
||||
// Aseprite
|
||||
// Copyright (C) 2001-2015 David Capello
|
||||
// Copyright (C) 2001-2016 David Capello
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@ -345,11 +345,6 @@ bool CustomizedGuiManager::onProcessMessage(Message* msg)
|
||||
|
||||
case kDropFilesMessage:
|
||||
{
|
||||
// If the main window is not the current foreground one. We
|
||||
// discard the drop-files event.
|
||||
if (getForegroundWindow() != App::instance()->getMainWindow())
|
||||
break;
|
||||
|
||||
const DropFilesMessage::Files& files = static_cast<DropFilesMessage*>(msg)->files();
|
||||
|
||||
// Open all files
|
||||
|
Loading…
x
Reference in New Issue
Block a user