mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 06:41:49 +00:00
Allow a Thing's flags value field to be edited even when "Absolute Height" is checked, but uncheck it after editing
This commit is contained in:
parent
36ec727743
commit
7b276580fb
1 changed files with 1 additions and 1 deletions
|
@ -451,7 +451,6 @@ namespace CodeImp.DoomBuilder.Windows
|
||||||
MakeUndo();
|
MakeUndo();
|
||||||
|
|
||||||
useabsoluteheight = cbAbsoluteHeight.Checked;
|
useabsoluteheight = cbAbsoluteHeight.Checked;
|
||||||
flagsvalue.ReadOnly = cbAbsoluteHeight.Checked;
|
|
||||||
zlabel.Text = (useabsoluteheight ? "Z:" : "Height:");
|
zlabel.Text = (useabsoluteheight ? "Z:" : "Height:");
|
||||||
|
|
||||||
preventchanges = true;
|
preventchanges = true;
|
||||||
|
@ -591,6 +590,7 @@ namespace CodeImp.DoomBuilder.Windows
|
||||||
posZ.Text = z.ToString();
|
posZ.Text = z.ToString();
|
||||||
}
|
}
|
||||||
flagsvalue_ignore = false;
|
flagsvalue_ignore = false;
|
||||||
|
cbAbsoluteHeight.Checked = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue