forked from Mirrors/openclonk
Win32 editor: Fix selection of textures with names included in other texture names (e.g. rock and rock_smooth).
parent
7e21bb2572
commit
a81249438a
|
@ -1081,7 +1081,7 @@ void C4ToolsDlg::UpdateTextures()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// reselect current
|
// reselect current
|
||||||
SendDlgItemMessage(state->hDialog, box, CB_SELECTSTRING, 0, GetWideLPARAM(texture));
|
SendDlgItemMessage(state->hDialog, box, CB_SELECTSTRING, -1, GetWideLPARAM(texture));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue