Double click action should enter sheet.
This commit is contained in:
parent
4ccfa17ff9
commit
2edb09e583
|
@ -290,6 +290,11 @@ int SCH_SELECTION_TOOL::Main( const TOOL_EVENT& aEvent )
|
|||
if( m_selection.Empty() )
|
||||
SelectPoint( evt->Position());
|
||||
|
||||
EDA_ITEM* item = m_selection.Front();
|
||||
|
||||
if( item && item->Type() == SCH_SHEET_T )
|
||||
m_toolMgr->RunAction( SCH_ACTIONS::enterSheet );
|
||||
else
|
||||
m_toolMgr->RunAction( SCH_ACTIONS::properties );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue