diff options
author | deva <deva> | 2010-08-20 12:23:41 +0000 |
---|---|---|
committer | deva <deva> | 2010-08-20 12:23:41 +0000 |
commit | 691529884f4adb4753f14d8a1e0b0743c5cf665a (patch) | |
tree | 27e596776511f8b877bec9237894d2b5094206b9 /client | |
parent | c319d824b5aaba55010e4b966593714ee3c5b1c6 (diff) |
Don't show drop-down list when clicked, if disabled.
Diffstat (limited to 'client')
-rw-r--r-- | client/widgets/combobox.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/widgets/combobox.cc b/client/widgets/combobox.cc index 5d5543f..ec260ea 100644 --- a/client/widgets/combobox.cc +++ b/client/widgets/combobox.cc @@ -199,7 +199,7 @@ bool ComboBox::eventFilter(QObject *obj, QEvent *event) { if(combotype == SELECT) { if(event->type() == QEvent::MouseButtonRelease) { - combobox->showPopup(); + if(enabled()) combobox->showPopup(); } } |