diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-04-24 05:32:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-04-24 05:32:41 +0300 |
commit | 65d6e86c20604e76ac0de46e54bf5571c570fd53 (patch) | |
tree | a9487422a0a2e1a7be8db5a1ade415b8011dfe0f /src/gui/setup_video.cpp | |
parent | ccb35758a391807322265994b1712c8d7ed2d16c (diff) | |
download | plus-65d6e86c20604e76ac0de46e54bf5571c570fd53.tar.gz plus-65d6e86c20604e76ac0de46e54bf5571c570fd53.tar.bz2 plus-65d6e86c20604e76ac0de46e54bf5571c570fd53.tar.xz plus-65d6e86c20604e76ac0de46e54bf5571c570fd53.zip |
Add reset yellow bar command to bars context menu.
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r-- | src/gui/setup_video.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index a3a82333e..a838befef 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -410,6 +410,8 @@ Setup_Video::Setup_Video(): mDrawHotKeysCheckBox->addKeyListener(this); mDrawPathCheckBox->addKeyListener(this); mShowJobCheckBox->addKeyListener(this); + mOpenGLDropDown->addActionListener(this); + mAlphaCacheCheckBox->addKeyListener(this); mSpeechLabel->setCaption(speechModeToString(mSpeechMode)); @@ -815,7 +817,7 @@ void Setup_Video::action(const gcn::ActionEvent &event) } else if (id == "opengl") { - bool isSoftware = mOpenGLDropDown->getSelected(); + bool isSoftware = (mOpenGLDropDown->getSelected() == 0); mAlphaCacheCheckBox->setEnabled(isSoftware); } } |