projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b77c07
)
[builtins] do not restart visualization if it has no settings.
author
Anton Fedchin
<afedchin@ruswizards.com>
Fri, 19 Jun 2015 09:16:58 +0000
(12:16 +0300)
committer
Anton Fedchin
<afedchin@ruswizards.com>
Fri, 19 Jun 2015 09:16:58 +0000
(12:16 +0300)
xbmc/interfaces/Builtins.cpp
patch
|
blob
|
history
diff --git
a/xbmc/interfaces/Builtins.cpp
b/xbmc/interfaces/Builtins.cpp
index
db5bc8b
..
217dc04
100644
(file)
--- a/
xbmc/interfaces/Builtins.cpp
+++ b/
xbmc/interfaces/Builtins.cpp
@@
-1760,8
+1760,8
@@
int CBuiltins::Execute(const std::string& execString)
ADDON::TYPE type = TranslateType(params[0]);
if (CAddonMgr::Get().GetDefault(type, addon))
{
- CGUIDialogAddonSettings::ShowAndGetInput(addon);
- if (type == ADDON_VIZ)
+
bool changed =
CGUIDialogAddonSettings::ShowAndGetInput(addon);
+ if (type == ADDON_VIZ
&& changed
)
g_windowManager.SendMessage(GUI_MSG_VISUALISATION_RELOAD, 0, 0);
}
}