Commit 50827d7b authored by Alexander Semke's avatar Alexander Semke

Don't crash when copying the fit results.

parent 51b6b612
......@@ -1152,6 +1152,8 @@ void XYFitCurveDock::resultCopy(bool copyAll) {
//copy the content of the table
for (int i = 0; i < tw->rowCount(); ++i) {
for (int j = 0; j < tw->columnCount(); ++j) {
if (!tw->item(i, j))
if (!copyAll && !tw->item(i, j)->isSelected())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment