[haiku-commits] Change in haiku[master]: BTextView: preserve ViewUIColor when unarchiving

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 26 Sep 2019 15:34:47 +0000

From Adrien Destugues <pulkomandy@xxxxxxxxx>:

Adrien Destugues has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/1887 ;)


Change subject: BTextView: preserve ViewUIColor when unarchiving
......................................................................

BTextView: preserve ViewUIColor when unarchiving

When unarchiving, we can rely on BView to properly restore the colors,
and we should not alter them. So move the code doing that outside of
_InitObject, and into all non-unarchiving constructors instead.
---
M src/kits/interface/TextView.cpp
1 file changed, 4 insertions(+), 1 deletion(-)



  git pull ssh://git.haiku-os.org:22/haiku refs/changes/87/1887/1
--
To view, visit https://review.haiku-os.org/c/haiku/+/1887
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I98050c69bb3b8edf6e77ad0498e2dade5eaadb1d
Gerrit-Change-Number: 1887
Gerrit-PatchSet: 1
Gerrit-Owner: Adrien Destugues <pulkomandy@xxxxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in haiku[master]: BTextView: preserve ViewUIColor when unarchiving - Gerrit