From 4cfe2612d7a4a18495e0cec70a9f94270a19dd29 Mon Sep 17 00:00:00 2001 From: Constantin Berhard Date: Tue, 5 Apr 2016 11:54:54 +0200 Subject: [PATCH] repair question frontend --- question_frontend.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/question_frontend.py b/question_frontend.py index 4244ba8..8fe4a7a 100644 --- a/question_frontend.py +++ b/question_frontend.py @@ -53,13 +53,13 @@ class QuestionFrontend: if operationmode is None: return None elif operationmode is OperationMode.INTERNAL_ONLY: - intres = self.selectResolution("the internal screen", situation.internalResolutions()) + intres = self.selectResolution("the internal screen", situation.internalConnector.getResolutionList()) if intres is None: return None else: return ScreenSetup(intres, None, None, False) elif operationmode is OperationMode.EXTERNAL_ONLY: - extres = self.selectResolution("the external screen", situation.externalResolutions()) + extres = self.selectResolution("the external screen", situation.externalConnector.getResolutionList()) if extres is None: return None else: @@ -78,10 +78,10 @@ class QuestionFrontend: return None return ScreenSetup(commonres,commonres,relpos,False) # select resolutions independently - intres = self.selectResolution("the internal screen", situation.internalResolutions()) + intres = self.selectResolution("the internal screen", situation.internalConnector.getResolutionList()) if intres is None: return None - extres = self.selectResolution("the external screen", situation.externalResolutions()) + extres = self.selectResolution("the external screen", situation.externalConnector.getResolutionList()) if extres is None: return None extprim = self.userChoose("Select primary screen", ["Internal screen is primary","External screen is primary"], [False,True], None) -- 2.30.2