Prevent showing add to favorites and change preferred art except on Constructed editor

This commit is contained in:
drdev
2014-07-31 21:28:03 +00:00
parent 849a56bfd5
commit ce7a5d9fcd

View File

@@ -805,6 +805,7 @@ public class FDeckEditor extends TabPageScreen<FDeckEditor> {
}
}
if (parentScreen.getEditorType() == EditorType.Constructed) {
//add option to add or remove card from favorites
final CardPreferences prefs = CardPreferences.getPrefs(card);
if (prefs.getStarCount() == 0) {
@@ -857,6 +858,7 @@ public class FDeckEditor extends TabPageScreen<FDeckEditor> {
}
}
}
}
protected static class DeckSectionPage extends CardManagerPage {
private final String captionPrefix;