From 06da69d046857293fd6b2e43c7aee3d9f863e16e Mon Sep 17 00:00:00 2001 From: elupus Date: Sun, 28 Mar 2010 13:20:23 +0000 Subject: changed: special case the lock dialog so we process application messages if that shows up during directory retrieval git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28909 568bbfeb-2a22-0410-94d2-cc84cf5bfa90 --- xbmc/FileSystem/Directory.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xbmc/FileSystem/Directory.cpp b/xbmc/FileSystem/Directory.cpp index 265d1a2281..7dcd723c2b 100644 --- a/xbmc/FileSystem/Directory.cpp +++ b/xbmc/FileSystem/Directory.cpp @@ -153,7 +153,8 @@ bool CDirectory::GetDirectory(const CStdString& strPath, CFileItemList &items, C while(!get.Wait(10)) { CSingleLock lock(g_graphicsContext); - if(g_windowManager.IsWindowVisible(WINDOW_DIALOG_PROGRESS)) + if(g_windowManager.IsWindowVisible(WINDOW_DIALOG_PROGRESS) + || g_windowManager.IsWindowVisible(WINDOW_DIALOG_LOCK_SETTINGS)) { if(dialog) { -- cgit v1.2.3