Appearance: Only Select() if we are attached to a window.
Otherwise the appropriate message won't be sent. AttachedToWindow() will take care of selecting in that case. Fixes #18891.
This commit is contained in:
@@ -253,7 +253,8 @@ APRView::_CreateItems()
|
||||
fAttrList->AddItem(new ColorWhichItem(text, which, ui_color(which)));
|
||||
}
|
||||
|
||||
fAttrList->Select(0);
|
||||
if (Window() != NULL)
|
||||
fAttrList->Select(0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user