Avoid reloading the list when the settings have not changed

This commit is contained in:
Artem Glebov 2013-04-25 14:44:37 +03:00
parent cc36c737b7
commit 5cf0c5a308

View file

@ -205,6 +205,7 @@ class TransmissionGUI(xbmcgui.WindowXMLDialog):
# Settings button
prev_settings = self.get_settings()
__settings__.openSettings()
if self.get_settings() != prev_settings:
p = xbmcgui.DialogProgress()
p.create(_(0), _(1)) # 'Transmission', 'Connecting to Transmission'
try: