Improve comment.
This commit is contained in:
parent
72ce955066
commit
a846e0219b
|
@ -104,7 +104,8 @@ PANEL_SYMBOL_CHOOSER::PANEL_SYMBOL_CHOOSER( SCH_BASE_FRAME* aFrame, wxWindow* aP
|
||||||
if( aFilter->GetFilterPowerSymbols() )
|
if( aFilter->GetFilterPowerSymbols() )
|
||||||
{
|
{
|
||||||
// HACK ALERT: the only filter ever used for symbols is the power filter, so we
|
// HACK ALERT: the only filter ever used for symbols is the power filter, so we
|
||||||
// sometimes just look for the function pointer being non-null.
|
// just look for the function pointer being non-null. (What the function does is
|
||||||
|
// therefore immaterial as it's never called.)
|
||||||
static std::function<int( LIB_TREE_NODE& )> powerFilter =
|
static std::function<int( LIB_TREE_NODE& )> powerFilter =
|
||||||
[]( LIB_TREE_NODE& ) -> int
|
[]( LIB_TREE_NODE& ) -> int
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue