(Issue#6) Fixed tooltip not displayed until updated in Preferences dialog

This commit is contained in:
magenoxx 2012-07-12 06:00:26 +04:00
parent d04008a7d4
commit 9187cbff07

View file

@ -142,7 +142,7 @@ public class MageActionCallback implements ActionCallback {
//String zone = ((MageCard)(data.component)).getZone();
//if (zone != null && zone.equals(Constants.Zone.HAND.toString())) {
// for performance getting cached value
String showTooltips = PreferencesDialog.getCachedValue(PreferencesDialog.KEY_SHOW_TOOLTIPS_ANY_ZONE, "false");
String showTooltips = PreferencesDialog.getCachedValue(PreferencesDialog.KEY_SHOW_TOOLTIPS_ANY_ZONE, "true");
if (showTooltips.equals("false")) {
return;
}