mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +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() );
|
gtk_entry_set_text( GTK_ENTRY( EntWidgets[EntValueField] ), str.GetBuffer() );
|
||||||
AddProp();
|
AddProp();
|
||||||
edit_entity->brushes.onext->bModelFailed = false;
|
edit_entity->brushes.onext->bModelFailed = false;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
Undo_End();
|
||||||
|
g_pParentWnd->OnSelectionDelete();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue