mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-25 21:31:12 +00:00
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:
parent
e99c0e5370
commit
6a00062843
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue