mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
Added crop image function.
Fixed 'difference' symbol type. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@574 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -246,14 +246,14 @@ void SymbolWindow::onFileExit(wxCommandEvent& ev) {
|
||||
|
||||
|
||||
void SymbolWindow::onEditUndo(wxCommandEvent& ev) {
|
||||
if (!control->isEditing()) {
|
||||
if (!control->isEditing() && control->getSymbol()->actions.canUndo()) {
|
||||
control->getSymbol()->actions.undo();
|
||||
control->Refresh(false);
|
||||
}
|
||||
}
|
||||
|
||||
void SymbolWindow::onEditRedo(wxCommandEvent& ev) {
|
||||
if (!control->isEditing()) {
|
||||
if (!control->isEditing() && control->getSymbol()->actions.canRedo()) {
|
||||
control->getSymbol()->actions.redo();
|
||||
control->Refresh(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user