If user cancels model selection, I trigger

a selectiondelete call. Fixes the problem
but I'm a little bit sketchy on how I'm
handling the Undo stack...
This commit is contained in:
Clinton Freeman 2012-04-02 00:31:26 -04:00
parent e99c0e5370
commit 6a00062843
1 changed files with 3 additions and 0 deletions

View File

@ -622,7 +622,10 @@ void AssignModel(){
gtk_entry_set_text( GTK_ENTRY( EntWidgets[EntValueField] ), str.GetBuffer() );
AddProp();
edit_entity->brushes.onext->bModelFailed = false;
return;
}
Undo_End();
g_pParentWnd->OnSelectionDelete();
}
/*