src/misc_gui.cpp
changeset 8036 279f4cbf9ec7
parent 8032 f35fba9bacb0
child 8041 9483d3e46b3e
equal deleted inserted replaced
8035:8c76ea0d84ab 8036:279f4cbf9ec7
  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  */