Merge pull request #4498 from popcornmix/reschange
authorTrent Nelson <trent.a.b.nelson@gmail.com>
Thu, 3 Apr 2014 15:55:36 +0000 (11:55 -0400)
committerTrent Nelson <trent.a.b.nelson@gmail.com>
Thu, 3 Apr 2014 16:31:07 +0000 (10:31 -0600)
[settings] Only need a confirmation dialogue when resolution has changed

xbmc/settings/DisplaySettings.cpp

index fbd79d4..991494c 100644 (file)
@@ -240,7 +240,7 @@ bool CDisplaySettings::OnSettingChanging(const CSetting *setting)
 
     // check if the old or the new resolution was/is windowed
     // in which case we don't show any prompt to the user
-    if (oldRes != RES_WINDOW && newRes != RES_WINDOW)
+    if (oldRes != RES_WINDOW && newRes != RES_WINDOW && oldRes != newRes)
     {
       if (!m_resolutionChangeAborted)
       {