mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-29 07:01:55 +00:00
auto-focus in map options dialog when a problem occurs
This commit is contained in:
parent
776a52b50f
commit
e2b3f464f3
2 changed files with 3 additions and 1 deletions
|
@ -3,8 +3,8 @@ mainwindow
|
|||
{
|
||||
positionx = 27;
|
||||
sizeheight = 572;
|
||||
positiony = 15;
|
||||
windowstate = 2;
|
||||
sizewidth = 739;
|
||||
positiony = 15;
|
||||
}
|
||||
|
||||
|
|
|
@ -55,6 +55,7 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
{
|
||||
// Select a configuration!
|
||||
MessageBox.Show(this, "Please select a game configuration to use for editing your map.", Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||
config.Focus();
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -63,6 +64,7 @@ namespace CodeImp.DoomBuilder.Interface
|
|||
{
|
||||
// Enter a level name!
|
||||
MessageBox.Show(this, "Please enter a level name for your map.", Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||
levelname.Focus();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue