Fixed caret size.

Made delete card button greyed-out with only one card in set (oops)


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@404 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
coppro
2007-05-20 21:28:28 +00:00
parent bd891efc15
commit af89fe04d5
2 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ void CardsPanel::onUpdateUI(wxUpdateUIEvent& ev) {
ev.Check(ss.card_angle() == a);
break;
}
case ID_CARD_REMOVE: ev.Enable(set->cards.size() > 0); break;
case ID_CARD_REMOVE: ev.Enable(set->cards.size() > 1); break;
case ID_FORMAT_BOLD: case ID_FORMAT_ITALIC: case ID_FORMAT_SYMBOL: case ID_FORMAT_REMINDER: {
if (focused_control(this) == ID_EDITOR) {
ev.Enable(editor->canFormat(ev.GetId()));