mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
prevent dropdown from closing when moving to parent or child
This commit is contained in:
@@ -61,7 +61,7 @@ IMPLEMENT_REFLECTION(WrappedCards) {
|
||||
}
|
||||
|
||||
|
||||
wxDataFormat CardsDataObject::format = _("application/x-mse-cards");
|
||||
wxDataFormat CardsDataObject::format(wxString("application/x-mse-cards"));
|
||||
|
||||
CardsDataObject::CardsDataObject(const SetP& set, const String id, const vector<CardP>& cards) {
|
||||
// set the stylesheet, so when deserializing we know whos style options we are reading
|
||||
@@ -121,7 +121,7 @@ IMPLEMENT_REFLECTION(WrappedKeyword) {
|
||||
}
|
||||
|
||||
|
||||
wxDataFormat KeywordDataObject::format = _("application/x-mse-keyword");
|
||||
wxDataFormat KeywordDataObject::format(wxString("application/x-mse-keyword"));
|
||||
|
||||
KeywordDataObject::KeywordDataObject(const SetP& set, const KeywordP& keyword) {
|
||||
WrappedKeyword data = { set->game.get(), set->game->name(), keyword };
|
||||
|
||||
Reference in New Issue
Block a user