1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-30 23:18:08 +02:00
vcmi/client/windows
Vadim Markovtsev 32ece9513d Fix 2331 save menu keyboard event leak
The control flows the following way:
- we receive SDL_KEYDOWN with letter 's' in the adventure map interface
- save dialog opens
- text input receives focus
- text input enables receiving SDL_KeyboardEvent-s which go between DOWN and UP
- the button on keyboard becomes UP (the menu opens very fast)
- text input receives SDL_KeyboardEvent and inserts 's'
- text input receives SDL_KEYUP

So the apparent fix is to open the save dialog on SDL_KEYUP event
2016-01-28 10:26:40 +03:00
..
CAdvmapInterface.cpp Fix 2331 save menu keyboard event leak 2016-01-28 10:26:40 +03:00
CAdvmapInterface.h Deactivate CAdvMapInt while quick combat is going. Fix issue 2354 2016-01-10 18:00:24 +03:00
CCastleInterface.cpp Client: slience visibility error on shipyard in non-coastal town 2015-12-08 07:33:13 +03:00
CCastleInterface.h Add "override" to virtual overriden methods 2015-10-13 21:05:36 +03:00
CCreatureWindow.cpp Fix mantiss 1965 2015-08-25 12:16:47 +03:00
CCreatureWindow.h
CHeroWindow.cpp Fix 2160 dismissing a VIP hero 2016-01-27 17:10:19 +03:00
CHeroWindow.h Add "override" to virtual overriden methods 2015-10-13 21:05:36 +03:00
CKingdomInterface.cpp fix #2080. No more articaft exchange between heroes in kingdom overview. 2015-02-14 20:24:18 +03:00
CKingdomInterface.h Add "override" to virtual overriden methods 2015-10-13 21:05:36 +03:00
CQuestLog.cpp Refactoring: always use std prefix for shared_ptr, unique_ptr and make_shared 2015-12-29 05:43:33 +03:00
CQuestLog.h Refactoring: always use std prefix for shared_ptr, unique_ptr and make_shared 2015-12-29 05:43:33 +03:00
CSpellWindow.cpp SDL1 wipe, part 4. Codebase cleanup finished. Untested. 2015-06-21 01:59:32 +03:00
CSpellWindow.h TOWN_PORTAL callback is too specific to ba part on spellwindow class 2015-02-26 08:39:46 +03:00
CTradeWindow.cpp Fix 2139 captured spell scroll descriptions 2016-01-25 08:49:26 +03:00
CTradeWindow.h Add "override" to virtual overriden methods 2015-10-13 21:05:36 +03:00
CWindowObject.cpp
CWindowObject.h Add "override" to virtual overriden methods 2015-10-13 21:05:36 +03:00
GUIClasses.cpp Add hero gold cost to GameConstants 2015-12-07 00:13:58 +03:00
GUIClasses.h Add "override" to virtual overriden methods 2015-10-13 21:05:36 +03:00
InfoWindows.cpp implemented VISIONS spell (partially) 2015-02-26 08:39:56 +03:00
InfoWindows.h Add "override" to virtual overriden methods 2015-10-13 21:05:36 +03:00