Merge "Forced all ControlWrapper instances to ignore styling" into devel/master
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 20 Jan 2022 15:34:16 +0000 (15:34 +0000)
committerGerrit Code Review <gerrit@review>
Thu, 20 Jan 2022 15:34:16 +0000 (15:34 +0000)
dali-toolkit/devel-api/controls/control-wrapper-impl.cpp

index 2056d66..78e4428 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -84,7 +84,7 @@ Dali::Toolkit::ControlWrapper ControlWrapper::New(const std::string& typeName, C
 }
 
 ControlWrapper::ControlWrapper(CustomControlBehaviour behaviourFlags)
-: Control(static_cast<ControlBehaviour>(behaviourFlags))
+: Control(static_cast<ControlBehaviour>(behaviourFlags | DISABLE_STYLE_CHANGE_SIGNALS))
 {
 }