diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-08-03 21:18:31 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-08-03 21:18:31 +0000 |
commit | 2da65e2e57b664cc45c164f08ddae3597e51fcba (patch) | |
tree | 328672b6aee26f5532b79ef51ef01b350fbf3184 /src/game.cpp | |
parent | 741ccf53b036a120cb6b0c90d5c29165a7e78742 (diff) | |
download | mana-2da65e2e57b664cc45c164f08ddae3597e51fcba.tar.gz mana-2da65e2e57b664cc45c164f08ddae3597e51fcba.tar.bz2 mana-2da65e2e57b664cc45c164f08ddae3597e51fcba.tar.xz mana-2da65e2e57b664cc45c164f08ddae3597e51fcba.zip |
Now the 'Apply' and 'Cancel' buttons of the setup window work correctly.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp index 2279cb5f..7e3e1bd2 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -363,10 +363,10 @@ void do_input() { helpWindow->setVisible(false); } - // Close the config window, applying changes if opened + // Close the config window, cancelling changes if opened else if (setupWindow->isVisible()) { - setupWindow->action("apply"); + setupWindow->action("cancel"); } // Else, open the chat edit box else |