[haiku-commits] haiku: hrev48492 - src/kits/interface

  • From: pulkomandy@xxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 12 Dec 2014 16:19:34 +0100 (CET)

hrev48492 adds 1 changeset to branch 'master'
old head: f0eb9fcd9323903b2c1b7046a0a78e078663c6dc
new head: 3bcb69811be906f594939fa43cd8e81018367d1a
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=3bcb698+%5Ef0eb9fc

----------------------------------------------------------------------------

3bcb698: BOptionPopUp: call the superclass AttachedToWindow.
  
  It's ther that the view background color is inherited from the parent.
  Fix option popups having a white background eg. in MediaPlayer
  preferences.
  
  Thanks to DeadYak for noticing the problem.

                                 [ Adrien Destugues <pulkomandy@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev48492
Commit:      3bcb69811be906f594939fa43cd8e81018367d1a
URL:         http://cgit.haiku-os.org/haiku/commit/?id=3bcb698
Author:      Adrien Destugues <pulkomandy@xxxxxxxxx>
Date:        Fri Dec 12 15:18:34 2014 UTC

----------------------------------------------------------------------------

1 file changed, 2 insertions(+)
src/kits/interface/OptionPopUp.cpp | 2 ++

----------------------------------------------------------------------------

diff --git a/src/kits/interface/OptionPopUp.cpp 
b/src/kits/interface/OptionPopUp.cpp
index aaf9fd6..6b89759 100644
--- a/src/kits/interface/OptionPopUp.cpp
+++ b/src/kits/interface/OptionPopUp.cpp
@@ -197,6 +197,8 @@ BOptionPopUp::AllAttached()
 void
 BOptionPopUp::AttachedToWindow()
 {
+       BOptionControl::AttachedToWindow();
+
        BMenu* menu = fMenuField->Menu();
        if (menu != NULL) {
                float labelWidth = fMenuField->StringWidth(fMenuField->Label());


Other related posts:

  • » [haiku-commits] haiku: hrev48492 - src/kits/interface - pulkomandy