projects
/
profile
/
tv
/
apps
/
dotnet
/
home.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d724639
)
Add condition for defaultShortcutInfo
author
Hyerim Kim
<rimi.kim@samsung.com>
Wed, 15 Mar 2017 11:23:27 +0000
(20:23 +0900)
committer
ChulSeung Kim
<charles0.kim@samsung.com>
Thu, 8 Jun 2017 09:34:47 +0000
(18:34 +0900)
Change-Id: I41360782b4dce75f1d0e7857bbde42c548a44104
Signed-off-by: Hyerim Kim <rimi.kim@samsung.com>
TVHome/TVHome/Views/SubPanel.xaml.cs
patch
|
blob
|
history
diff --git
a/TVHome/TVHome/Views/SubPanel.xaml.cs
b/TVHome/TVHome/Views/SubPanel.xaml.cs
index 5c4b9e1be1ba91e97751549ad32093f83b3ec91c..d5c15ac9d6ca79c9e6092cd31e504d091d36d7f6 100755
(executable)
--- a/
TVHome/TVHome/Views/SubPanel.xaml.cs
+++ b/
TVHome/TVHome/Views/SubPanel.xaml.cs
@@
-73,7
+73,14
@@
namespace TVHome.Views
{
if (item is AppShortcutInfo)
{
- OnUnpinCommand.Execute((item as AppShortcutInfo).AppID);
+ if (button is SubPanelAllAppsButton || button is SubPanelReservedButton)
+ {
+ item.DoAction();
+ }
+ else
+ {
+ OnUnpinCommand.Execute((item as AppShortcutInfo).AppID);
+ }
}
else
{