mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Fix Surface Inspector texture name
This commit is contained in:
parent
db467908ad
commit
902e311149
1 changed files with 9 additions and 0 deletions
|
@ -296,6 +296,15 @@ static void PopulateTextureComboList(){
|
|||
|
||||
blank[0] = 0;
|
||||
|
||||
//clear combo box
|
||||
#if GTK_CHECK_VERSION( 3, 0, 0 )
|
||||
gtk_combo_box_text_remove_all( GTK_COMBO_BOX_TEXT( texture_combo ) );
|
||||
#else
|
||||
GtkListStore *store;
|
||||
store = GTK_LIST_STORE( gtk_combo_box_get_model( GTK_COMBO_BOX( texture_combo ) ) );
|
||||
gtk_list_store_clear( store );
|
||||
#endif
|
||||
|
||||
if ( texdef_face_list_empty() ) {
|
||||
items = g_list_append( items, (gpointer) blank );
|
||||
// For Texture Entry, activate only on entry change
|
||||
|
|
Loading…
Reference in a new issue