Skip to content

Commit

Permalink
Fix copy in internal buffer
Browse files Browse the repository at this point in the history
There was an omission of the last_row update in
968b8d5

That had an effect of converting all copied selections to one column.
  • Loading branch information
mgrojo committed Dec 7, 2017
1 parent 2e88165 commit a41394a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ExtendedTableWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ void ExtendedTableWidget::copy(const bool withHeaders)
lst.clear();
}
lst << indices.at(i).data(Qt::EditRole).toByteArray();
last_row = indices.at(i).row();
}
m_buffer.push_back(lst);

Expand Down

0 comments on commit a41394a

Please sign in to comment.