Naming conventions.

This commit is contained in:
Jeff Young 2021-03-28 17:55:07 +01:00
parent cc43436df8
commit c32932a311
2 changed files with 5 additions and 5 deletions

View File

@ -59,7 +59,7 @@ SCH_DRAWING_TOOLS::SCH_DRAWING_TOOLS() :
m_lastTextOrientation( LABEL_SPIN_STYLE::LEFT ),
m_lastTextBold( false ),
m_lastTextItalic( false ),
m_inPlaceComponent( false ),
m_inPlaceSymbol( false ),
m_inPlaceImage( false ),
m_inSingleClickPlace( false ),
m_inTwoClickPlace( false ),
@ -91,10 +91,10 @@ int SCH_DRAWING_TOOLS::PlaceSymbol( const TOOL_EVENT& aEvent )
SCHLIB_FILTER filter;
std::vector<PICKED_SYMBOL>* historyList = nullptr;
if( m_inPlaceComponent )
if( m_inPlaceSymbol )
return 0;
else
m_inPlaceComponent = true;
m_inPlaceSymbol = true;
if( aEvent.IsAction( &EE_ACTIONS::placeSymbol ) )
{
@ -312,7 +312,7 @@ int SCH_DRAWING_TOOLS::PlaceSymbol( const TOOL_EVENT& aEvent )
}
m_frame->GetCanvas()->SetCurrentCursor( KICURSOR::ARROW );
m_inPlaceComponent = false;
m_inPlaceSymbol = false;
return 0;
}

View File

@ -83,7 +83,7 @@ private:
bool m_lastTextItalic;
///< Re-entrancy guards
bool m_inPlaceComponent;
bool m_inPlaceSymbol;
bool m_inPlaceImage;
bool m_inSingleClickPlace;
bool m_inTwoClickPlace;