mirror of
https://github.com/correl/Transmission-XBMC.git
synced 2025-02-16 15:54:38 +00:00
Avoid reloading the list when the settings have not changed
This commit is contained in:
parent
cc36c737b7
commit
5cf0c5a308
1 changed files with 14 additions and 13 deletions
|
@ -205,6 +205,7 @@ class TransmissionGUI(xbmcgui.WindowXMLDialog):
|
||||||
# Settings button
|
# Settings button
|
||||||
prev_settings = self.get_settings()
|
prev_settings = self.get_settings()
|
||||||
__settings__.openSettings()
|
__settings__.openSettings()
|
||||||
|
if self.get_settings() != prev_settings:
|
||||||
p = xbmcgui.DialogProgress()
|
p = xbmcgui.DialogProgress()
|
||||||
p.create(_(0), _(1)) # 'Transmission', 'Connecting to Transmission'
|
p.create(_(0), _(1)) # 'Transmission', 'Connecting to Transmission'
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue