diff options
author | deva <deva> | 2008-07-02 07:49:31 +0000 |
---|---|---|
committer | deva <deva> | 2008-07-02 07:49:31 +0000 |
commit | 4d7617cbf20985b7cf2231675d8aadd01f77c3d2 (patch) | |
tree | 673a098723c6f6cef90719e0ffa65b2cb31c37b6 /client/widgets/combobox.cc | |
parent | ef408f5639958ce51170978433a0e483240a3ff2 (diff) |
Added disable/enable methods on widgets and exposed them to lua.
Diffstat (limited to 'client/widgets/combobox.cc')
-rw-r--r-- | client/widgets/combobox.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/client/widgets/combobox.cc b/client/widgets/combobox.cc index a60f1ed..3856bed 100644 --- a/client/widgets/combobox.cc +++ b/client/widgets/combobox.cc @@ -154,3 +154,13 @@ void ComboBox::changed() setPalette(palette); } + +void ComboBox::enable() +{ + setEnabled(true); +} + +void ComboBox::disable() +{ + setEnabled(false); +} |