Cleanup.
This commit is contained in:
parent
895f3de455
commit
30a073c2bb
|
@ -82,13 +82,6 @@ bool SCH_MOVE_TOOL::Init()
|
|||
}
|
||||
|
||||
|
||||
/* TODO - Tom/Jeff
|
||||
- add preferences option "Move origin: always cursor / item origin"
|
||||
- add preferences option "Default drag action: drag items / move"
|
||||
- add preferences option "Drag always selects"
|
||||
*/
|
||||
|
||||
|
||||
int SCH_MOVE_TOOL::Main( const TOOL_EVENT& aEvent )
|
||||
{
|
||||
EESCHEMA_SETTINGS* cfg = Pgm().GetSettingsManager().GetAppSettings<EESCHEMA_SETTINGS>();
|
||||
|
@ -111,7 +104,7 @@ int SCH_MOVE_TOOL::Main( const TOOL_EVENT& aEvent )
|
|||
{
|
||||
if( m_isDrag != wasDragging )
|
||||
{
|
||||
auto sel = m_selectionTool->GetSelection().Front();
|
||||
EDA_ITEM* sel = m_selectionTool->GetSelection().Front();
|
||||
|
||||
if( sel && !sel->IsNew() )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue