Be more subtle: load immediately if the user pressed enter.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1139 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
d41b612931
commit
7efea41231
@ -1403,6 +1403,9 @@ byte Button_Load_or_Save(byte load, byte image)
|
|||||||
if(Directory_exists(Main_filename)) Selected_type = 1;
|
if(Directory_exists(Main_filename)) Selected_type = 1;
|
||||||
else Selected_type = 0;
|
else Selected_type = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Now load immediately, but only if the user exited readline by pressing ENTER
|
||||||
|
if (Mouse_K == 0) has_clicked_ok = 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user