mirror of https://github.com/TTimo/GtkRadiant.git
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
|
@ -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 New Issue