mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-03-11 04:21:10 +00:00
Fixed some issues with images browser and Linedef properties dialog
This commit is contained in:
parent
f5a4799721
commit
7394868988
4 changed files with 5 additions and 3 deletions
|
@ -129,7 +129,7 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
// This fills the lists and selects the given texture
|
||||
public void Setup(string selectflat)
|
||||
{
|
||||
bool fillrequired = (selectedset.Index == 0);
|
||||
bool fillrequired = (texturesets.SelectedItems.Count == 0) || (selectedset == texturesets.SelectedItems[0]);
|
||||
|
||||
if(!string.IsNullOrEmpty(selectflat))
|
||||
{
|
||||
|
|
1
Source/Windows/LinedefEditForm.Designer.cs
generated
1
Source/Windows/LinedefEditForm.Designer.cs
generated
|
@ -566,6 +566,7 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
// splitter
|
||||
//
|
||||
this.splitter.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitter.IsSplitterFixed = true;
|
||||
this.splitter.Location = new System.Drawing.Point(5, 5);
|
||||
this.splitter.Name = "splitter";
|
||||
this.splitter.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
|
|
|
@ -84,6 +84,8 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
// Custom fields?
|
||||
if(!General.Map.FormatInterface.HasCustomFields)
|
||||
tabs.TabPages.Remove(tabcustom);
|
||||
customfrontbutton.Visible = General.Map.FormatInterface.HasCustomFields;
|
||||
custombackbutton.Visible = General.Map.FormatInterface.HasCustomFields;
|
||||
|
||||
// Arrange panels
|
||||
if(General.Map.FormatInterface.HasPresetActivations)
|
||||
|
@ -267,7 +269,6 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
if(frontsector.Text != l.Map.GetIndexForSector(l.Front.Sector).ToString()) frontsector.Text = "";
|
||||
if(frontoffsetx.Text != l.Front.OffsetX.ToString()) frontoffsetx.Text = "";
|
||||
if(frontoffsety.Text != l.Front.OffsetY.ToString()) frontoffsety.Text = "";
|
||||
if(General.Map.FormatInterface.HasCustomFields) customfrontbutton.Visible = true;
|
||||
}
|
||||
|
||||
// Back settings
|
||||
|
|
|
@ -129,7 +129,7 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
// This fills the lists and selects the given texture
|
||||
public void Setup(string selecttexture)
|
||||
{
|
||||
bool fillrequired = (selectedset.Index == 0);
|
||||
bool fillrequired = (texturesets.SelectedItems.Count == 0) || (selectedset == texturesets.SelectedItems[0]);
|
||||
|
||||
if(!string.IsNullOrEmpty(selecttexture))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue