Index: ash/accelerators/accelerator_controller.cc |
diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc |
index 4e06455c59a0d117434af3e32157e1a62d03a814..4686fb4f57157fe4367aee38b70f488827d2d570 100644 |
--- a/ash/accelerators/accelerator_controller.cc |
+++ b/ash/accelerators/accelerator_controller.cc |
@@ -520,7 +520,8 @@ void HandleShowStylusTools() { |
bool CanHandleShowStylusTools() { |
return Shell::Get()->palette_delegate() && |
- Shell::Get()->palette_delegate()->ShouldShowPalette(); |
+ Shell::Get()->palette_delegate()->ShouldShowPalette() && |
+ palette_utils::ShouldCreatePalette(); |
jdufault
2017/04/19 22:58:38
Check this first
wutao
2017/04/20 16:17:51
Done.
|
} |
void HandleSuspend() { |