src/misc_gui.cpp
changeset 8532 3099f32f9bfd
parent 8528 04b4ef9abd9b
child 8537 0b4ab7d8b018
equal deleted inserted replaced
8531:e87a51f162e2 8532:3099f32f9bfd
  1589 			return;
  1589 			return;
  1590 		}
  1590 		}
  1591 
  1591 
  1592 		if (_saveload_mode == SLD_SAVE_GAME || _saveload_mode == SLD_SAVE_SCENARIO) {
  1592 		if (_saveload_mode == SLD_SAVE_GAME || _saveload_mode == SLD_SAVE_SCENARIO) {
  1593 			if (HandleEditBoxKey(w, &WP(w, querystr_d), 10, e) == 1) // Press Enter
  1593 			if (HandleEditBoxKey(w, &WP(w, querystr_d), 10, e) == 1) // Press Enter
  1594 					HandleButtonClick(w, 12);
  1594 					w->HandleButtonClick(12);
  1595 		}
  1595 		}
  1596 		break;
  1596 		break;
  1597 	case WE_TIMEOUT:
  1597 	case WE_TIMEOUT:
  1598 		/* This test protects against using widgets 11 and 12 which are only available
  1598 		/* This test protects against using widgets 11 and 12 which are only available
  1599 		 * in those two saveload mode  */
  1599 		 * in those two saveload mode  */