1
0
Fork 0

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

release/0.6
glx 2007-06-22 13:10:56 +00:00
parent e5c352818d
commit 8dff21e421
1 changed files with 5 additions and 0 deletions

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: {