Fix Set SDF dialog (debug mode / PC editor)

- No longer crashes when pressing enter
- Enter now sets the SDF, escape exits the dialog
This commit is contained in:
2015-07-04 17:02:29 -04:00
parent a2e4388c10
commit 973e765efd

View File

@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<?xml-stylesheet href="dialog.xsl" type="text/xsl"?>
<dialog defbtn='okay'>
<dialog defbtn='set'>
<pict type='dlog' num='7' top='8' left='8'/>
<text size='large' top='8' left='50' width='200' height='17'>Edit Stuff Done</text>
<text top='30' left='50' width='200' height='50'>
@@ -14,6 +14,6 @@
<text top='145' left='8' width='100' height='16'>Value:</text>
<field name='val' top='143' left='110' width='80' height='16'/>
<text name='feedback' top='165' left='8' width='230' height='16'/>
<button name='exit' type='regular' top='185' left='187'>Exit</button>
<button name='exit' def-key='esc' type='regular' top='185' left='187'>Exit</button>
<button name='set' type='regular' top='185' left='122'>Set</button>
</dialog>