diff options
author | Majin Sniper <majinsniper@gmx.de> | 2009-02-23 19:37:44 +0100 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-10 07:33:04 -0600 |
commit | 03507766fa4ee07491b7ee702093669de6222c9c (patch) | |
tree | f497866e15d21eb31fd42e8a2808a72059e74090 /src/gui | |
parent | 0fb4dc37c61341a237bab30896bd2c457222ed03 (diff) | |
download | mana-client-03507766fa4ee07491b7ee702093669de6222c9c.tar.gz mana-client-03507766fa4ee07491b7ee702093669de6222c9c.tar.bz2 mana-client-03507766fa4ee07491b7ee702093669de6222c9c.tar.xz mana-client-03507766fa4ee07491b7ee702093669de6222c9c.zip |
Fix video config cancel button for "show name".
The cancel button in Video configuration window doesn't switch back the
"show name" setting to the original state. This patch fixes that.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/setup_video.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index 7e3d483c..59eb4096 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -414,6 +414,8 @@ void Setup_Video::cancel() config.setValue("particleeffects", mParticleEffectsEnabled ? true : false); config.setValue("speech", mSpeechMode); config.setValue("showownname", mNameEnabled ? true : false); + if (player_node) + player_node->mUpdateName = true; config.setValue("guialpha", mOpacity); config.setValue("opengl", mOpenGLEnabled ? true : false); config.setValue("showpickupchat", mPickupChatEnabled ? true : false); |