Ticket #11698: 0001-Appearance-Fix-11698-Drop-a-RGBColor-enables-the-rev.patch

File 0001-Appearance-Fix-11698-Drop-a-RGBColor-enables-the-rev.patch, 777 bytes (added by Janus, 9 years ago)
  • src/preferences/appearance/APRView.cpp

    From 0f5c3441a8a6ade2aed88773b3f8a5d465b7c736 Mon Sep 17 00:00:00 2001
    From: Janus <janus2@ymail.com>
    Date: Sat, 3 Jan 2015 15:52:08 +0000
    Subject: [PATCH] [Appearance] Fix #11698 Drop a RGBColor enables the revert
     button
    
    ---
     src/preferences/appearance/APRView.cpp | 2 ++
     1 file changed, 2 insertions(+)
    
    diff --git a/src/preferences/appearance/APRView.cpp b/src/preferences/appearance/APRView.cpp
    index 2a4a21b..f6fe06a 100644
    a b APRView::MessageReceived(BMessage *msg)  
    141141        if (msg->FindData("RGBColor", (type_code)'RGBC', (const void**)&color,
    142142                &size) == B_OK) {
    143143            _SetCurrentColor(*color);
     144           
     145            Window()->PostMessage(kMsgUpdate);
    144146        }
    145147    }
    146148