[wesnoth-commits] [wesnoth/wesnoth] d8bbcc: Fix #3794: dialog callback can be called immediate...
GitHub
noreply at github.com
Sat Dec 22 05:09:29 UTC 2018
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: d8bbcc6b1e233552ce9189c909382c3c334dbd53
https://github.com/wesnoth/wesnoth/commit/d8bbcc6b1e233552ce9189c909382c3c334dbd53
Author: Jyrki Vesterinen <sandgtx at gmail.com>
Date: 2018-12-22 (Sat, 22 Dec 2018)
Changed paths:
M src/scripting/lua_gui2.cpp
Log Message:
-----------
Fix #3794: dialog callback can be called immediately
When a dialog registered a new callback in the callback handler, the new
callback was called as a result of the same event that fired the original
handler.
The solution is to simply stop processing of the event after executing the
original handler.
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the Commits
mailing list