From 9c653ef86e08ad41f309d08b5ec0b20799e1d35b Mon Sep 17 00:00:00 2001 From: David Capello Date: Thu, 4 Feb 2016 13:02:41 -0300 Subject: [PATCH] Avoid missing DDE files because the loading dialog box/progress bar is open --- src/app/modules/gui.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/app/modules/gui.cpp b/src/app/modules/gui.cpp index ff0250bd3..a472d7a7b 100644 --- a/src/app/modules/gui.cpp +++ b/src/app/modules/gui.cpp @@ -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(msg)->files(); // Open all files