Browse Source

Don't copy (or cut) hidden columns.

Fixes https://gitlab.com/kicad/code/kicad/issues/1911
6.0.7
Jeff Young 4 years ago
parent
commit
1fbb7f17c7
  1. 3
      common/grid_tricks.cpp

3
common/grid_tricks.cpp

@ -661,6 +661,9 @@ void GRID_TRICKS::cutcopy( bool doCopy, bool doDelete )
{
for( int col = m_sel_col_start; col < m_sel_col_start + m_sel_col_count; ++col )
{
if( !m_grid->IsColShown( col ) )
continue;
txt += tbl->GetValue( row, col );
if( col < m_sel_col_start + m_sel_col_count - 1 ) // that was not last column

Loading…
Cancel
Save