OpenTTD-patches/src/widgets
PeterN ebc451b071
Fix #10987: Double-close of dropdown stopped land-info tool working as default. (#11000)
Clicking and releasing on the query toolbar icon is meant to select the land-info tool.

This did not work as during closing a window, OnFocusLost() is called, which then closes the window again. These two calls toggled the land-info tool one and off in the same action.

Resolve by not calling Window::Close in OnFocusLost() if the window is already closing.
2023-06-12 08:42:02 +01:00
..
ai_widget.h
airport_widget.h
autoreplace_widget.h
bootstrap_widget.h
bridge_widget.h
build_vehicle_widget.h
cheat_widget.h
CMakeLists.txt
company_widget.h Feature: allow to do a hostile takeover of an AI company (in singleplayer) (#10914) 2023-06-05 19:32:22 +02:00
console_widget.h
date_widget.h
depot_widget.h
dock_widget.h
dropdown_func.h Fix dec7ff6b0c: Dropdowns couldn't be closed by pressing the parent button. (#10954) 2023-06-07 19:01:30 +01:00
dropdown_type.h Codechange: rename smallvec_type to container_func and use only when needed 2023-05-20 16:53:10 +02:00
dropdown_widget.h
dropdown.cpp Fix #10987: Double-close of dropdown stopped land-info tool working as default. (#11000) 2023-06-12 08:42:02 +01:00
engine_widget.h
error_widget.h
fios_widget.h
framerate_widget.h
game_widget.h
genworld_widget.h
goal_widget.h
graph_widget.h
group_widget.h
highscore_widget.h
industry_widget.h
intro_widget.h
league_widget.h
link_graph_legend_widget.h
main_widget.h
misc_widget.h
music_widget.h
network_chat_widget.h
network_content_widget.h
network_widget.h
newgrf_debug_widget.h
newgrf_widget.h
news_widget.h
object_widget.h
order_widget.h
osk_widget.h
rail_widget.h
road_widget.h
screenshot_widget.h
script_widget.h
settings_widget.h
sign_widget.h
slider_func.h Codechange: Move includes for common STL headers to stdafx. 2023-05-17 10:14:41 +01:00
slider.cpp
smallmap_widget.h
station_widget.h
statusbar_widget.h
story_widget.h
subsidy_widget.h
terraform_widget.h
timetable_widget.h
toolbar_widget.h
town_widget.h
transparency_widget.h
tree_widget.h
vehicle_widget.h
viewport_widget.h
waypoint_widget.h Feature: Add coverage button to waypoint window 2023-06-04 16:54:48 +01:00