mirror of
https://github.com/correl/mage.git
synced 2025-03-17 01:06:26 -09:00
(Issue#6) Fixed tooltip not displayed until updated in Preferences dialog
This commit is contained in:
parent
d04008a7d4
commit
9187cbff07
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ public class MageActionCallback implements ActionCallback {
|
||||||
//String zone = ((MageCard)(data.component)).getZone();
|
//String zone = ((MageCard)(data.component)).getZone();
|
||||||
//if (zone != null && zone.equals(Constants.Zone.HAND.toString())) {
|
//if (zone != null && zone.equals(Constants.Zone.HAND.toString())) {
|
||||||
// for performance getting cached value
|
// 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")) {
|
if (showTooltips.equals("false")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue