fix(color): Initialise theme variables to nullptr before first use (#2787)
This commit is contained in:
@@ -188,11 +188,11 @@ protected:
|
|||||||
ThemeFile _theme;
|
ThemeFile _theme;
|
||||||
TextButton *_cancelButton;
|
TextButton *_cancelButton;
|
||||||
ColorEditor *_colorEditor;
|
ColorEditor *_colorEditor;
|
||||||
PreviewWindow *_previewWindow;
|
PreviewWindow *_previewWindow = nullptr;
|
||||||
std::vector<Button *> _tabs;
|
std::vector<Button *> _tabs;
|
||||||
int _activeTab = 0;
|
int _activeTab = 0;
|
||||||
ColorSquare *_colorSquare;
|
ColorSquare *_colorSquare = nullptr;
|
||||||
StaticText *_hexBox;
|
StaticText *_hexBox = nullptr;
|
||||||
|
|
||||||
void buildBody(FormWindow* window)
|
void buildBody(FormWindow* window)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user