aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Saraev <stefan@saraev.ca>2013-11-22 19:22:28 +0200
committerStefan Saraev <stefan@saraev.ca>2013-11-22 19:26:46 +0200
commitde3ceeaecbdf981b469726640821ce1fe4daa341 (patch)
tree1b6be202731b300cfe6039f556966fb15b9aa296
parent034fb6d19769aed7c2b9714e8d58229311ebda15 (diff)
fix addon uninstall yesno dialog behaviour
introduced in 333025f addon uninstall yesno dialog behaviour is broken: yes = does nothing. no = uninstalls the addon
-rw-r--r--xbmc/addons/GUIDialogAddonInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/addons/GUIDialogAddonInfo.cpp b/xbmc/addons/GUIDialogAddonInfo.cpp
index 7ee39fb01a..69ebb05c08 100644
--- a/xbmc/addons/GUIDialogAddonInfo.cpp
+++ b/xbmc/addons/GUIDialogAddonInfo.cpp
@@ -216,7 +216,7 @@ void CGUIDialogAddonInfo::OnUninstall()
return;
// prompt user to be sure
- if (CGUIDialogYesNo::ShowAndGetInput(24037, 750, 0, 0))
+ if (!CGUIDialogYesNo::ShowAndGetInput(24037, 750, 0, 0))
return;
// ensure the addon isn't disabled in our database