[Webkit-unassigned] [Bug 27772] PopupMenuQt lacks disabled and selected support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 30 11:58:28 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27772


Adam Treat <treat at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #33795|review?                     |review+
               Flag|                            |




--- Comment #4 from Adam Treat <treat at kde.org>  2009-07-30 11:58:27 PDT ---
(From update of attachment 33795)
> diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
> +
> +            if (model && !client()->itemIsEnabled(i))
> +              model->item(i)->setEnabled(false);
> +
> +            if (client()->itemIsSelected(i))
> +                m_popup->setCurrentIndex(i);
> +        }

Indentation is not quite right, but I'll fix it when I land.  Otherwise r=me!

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list