1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-24 06:59:10 +00:00

(svn r10267) -Add: enable double clic to add in 'add newgrf' window

This commit is contained in:
glx
2007-06-22 13:10:56 +00:00
parent e5c352818d
commit 8dff21e421

View File

@@ -156,6 +156,11 @@ static void NewGRFAddDlgWndProc(Window *w, WindowEvent *e)
break;
}
case WE_DOUBLE_CLICK:
if (e->we.click.widget != 3) break;
e->we.click.widget = 6;
/* Fall through */
case WE_CLICK:
switch (e->we.click.widget) {
case 3: {