From 94dbcc1a28c0f16b56c56bdaa37997da61e9f876 Mon Sep 17 00:00:00 2001 From: Jon Tibble Date: Tue, 1 Sep 2009 20:39:49 +0100 Subject: [PATCH] Fix index naming in screen fix --- openlp/core/ui/mainwindow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py index 55b053aca..f494d1880 100644 --- a/openlp/core/ui/mainwindow.py +++ b/openlp/core/ui/mainwindow.py @@ -502,8 +502,8 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow): screen_number = int(self.generalConfig.get_config(u'Monitor', 0)) monitor_exists = False - for i in self.screenList: - if i[u'number'] == screen_number: + for screen in self.screenList: + if screen[u'number'] == screen_number: monitor_exists = True if not monitor_exists: screen_number = 0