mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-18 14:31:50 +00:00
Use the word 'flats' if currently browsing flats
This commit is contained in:
parent
e43e3e12c1
commit
88ff83b74d
1 changed files with 6 additions and 3 deletions
|
@ -117,8 +117,9 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
blockupdate = true;
|
||||
|
||||
this.browseflats = browseflats;
|
||||
uselongtexturenames = General.Map.Options.UseLongTextureNames;
|
||||
uselongtexturenames = General.Map.Options.UseLongTextureNames;
|
||||
texturetype = General.Settings.ReadSetting(settingpath + ".texturetype", 0);
|
||||
ElementName = (texturetype == 2 || (texturetype == 3 && browseflats)) ? "flats" : "textures";
|
||||
list.UsedTexturesFirst = usedtexturesfirst.Checked = General.Settings.ReadSetting(settingpath + ".showusedtexturesfirst", false);
|
||||
list.ClassicView = classicview.Checked = General.Settings.ReadSetting(settingpath + ".classicview", false);
|
||||
|
||||
|
@ -334,7 +335,9 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
private void texturetypecombo_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
texturetype = texturetypecombo.SelectedIndex;
|
||||
RefillList(false);
|
||||
ElementName = (texturetype == 2 || (texturetype == 3 && browseflats)) ? "flats" : "textures";
|
||||
|
||||
RefillList(false);
|
||||
}
|
||||
|
||||
//mxd
|
||||
|
@ -343,7 +346,7 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
if(blockupdate) return;
|
||||
list.ImageSize = (sizecombo.SelectedIndex == 0 ? 0 : Convert.ToInt32(sizecombo.SelectedItem));
|
||||
list.Focus();
|
||||
}
|
||||
}
|
||||
|
||||
//mxd
|
||||
private void longtexturenames_CheckedChanged(object sender, EventArgs e)
|
||||
|
|
Loading…
Reference in a new issue