def onSelect(self, session): ConfigText.onSelect(self, session) if session is not None: self.suggestionsWindow = session.instantiateDialog(MyTubeSuggestionsListScreen, self) self.suggestionsWindow.deactivate() self.suggestionsWindow.hide() self.getSuggestions()
def onSelect(self, session): if self.threaded: self.suggestionsThread = ConfigTextWithSuggestions.SuggestionsThread(self.suggestions) self.suggestionsThread.start() else: self.suggestionsThread = None ConfigText.onSelect(self, session) if session is not None: self.suggestionsWindow = session.instantiateDialog(SuggestionsListScreen, self) self.suggestionsWindow.deactivate() self.suggestionsWindow.hide() self.suggestions.getSuggestions(self.value)
def onSelect(self, session): if self.threaded: self.suggestionsThread = ConfigTextWithSuggestions.SuggestionsThread( self.suggestions) self.suggestionsThread.start() else: self.suggestionsThread = None ConfigText.onSelect(self, session) if session is not None: self.suggestionsWindow = session.instantiateDialog( SuggestionsListScreen, self) self.suggestionsWindow.deactivate() self.suggestionsWindow.hide() self.suggestions.getSuggestions(self.value)
def onSelect(self, session): ConfigText.onSelect(self, session) self.getSuggestions()