mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
more localisation
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@117 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -178,7 +178,7 @@ void CardListBase::selectCurrentCard() {
|
||||
bool CardListBase::canCopy() const { return !!selected_card; }
|
||||
bool CardListBase::canCut() const { return canCopy() && allowModify(); }
|
||||
bool CardListBase::canPaste() const {
|
||||
return wxTheClipboard->IsSupported(CardDataObject::format);
|
||||
return allowModify() && wxTheClipboard->IsSupported(CardDataObject::format);
|
||||
}
|
||||
|
||||
bool CardListBase::doCopy() {
|
||||
@@ -417,6 +417,7 @@ void CardListBase::onChar(wxKeyEvent& ev) {
|
||||
}
|
||||
|
||||
void CardListBase::onDrag(wxMouseEvent& ev) {
|
||||
if (!allowModify()) return;
|
||||
if (ev.Dragging() && selected_card && !sort_criterium) {
|
||||
// reorder card list
|
||||
int flags;
|
||||
|
||||
Reference in New Issue
Block a user