We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b04d52b + fb88147 commit e67e2edCopy full SHA for e67e2ed
1 file changed
src/ExtendedTableWidget.cpp
@@ -158,7 +158,15 @@ void ExtendedTableWidget::paste()
158
int column = firstColumn;
159
foreach(const QString& cell, clipboardRow)
160
{
161
- m->setData(m->index(row, column), cell);
+ if(cell.startsWith('"') && cell.endsWith('"'))
162
+ {
163
+ QString unquatedCell = cell.mid(1, cell.length()-2);
164
+ m->setData(m->index(row, column), unquatedCell);
165
+ }
166
+ else
167
168
+ m->setData(m->index(row, column), cell);
169
170
171
column++;
172
if(column> lastColumn)
0 commit comments