WindSettingsPanel: instant feedback on wind source
commitccf7bfc04d01880534f09ea7e9219b4ea597f7a5
authorMax Kellermann <max@duempel.org>
Wed, 13 Mar 2013 21:24:11 +0000 (13 22:24 +0100)
committerMax Kellermann <max@duempel.org>
Wed, 13 Mar 2013 21:24:11 +0000 (13 22:24 +0100)
tree7c9e2d5c4f614fd73083d4095a38afc4cd86538e
parent31b54467f9753ff85d45b4b70a39c4bc14c4e10f
WindSettingsPanel: instant feedback on wind source

Register a BlackboardListener and commit some controls immediately.
Replace "OK" and "Cancel" with a single "Close" button that always
saves.  A new button clears the manual wind.
src/Dialogs/Settings/WindSettingsDialog.cpp
src/Dialogs/Settings/WindSettingsPanel.cpp
src/Dialogs/Settings/WindSettingsPanel.hpp