correct bugs

This commit is contained in:
levinsv 2019-05-29 22:17:21 +05:00
parent 4760f322cd
commit 1a7d00f1f4
4 changed files with 15 additions and 4 deletions

View file

@ -151,7 +151,8 @@ wxString ctlSQLGrid::GetExportLine(int row, wxArrayInt cols)
else if (settings->GetCopyQuoting() == 2)
/* Quote everything */
needQuote = true;
if (text.Length()==0&&generatesql) {needQuote = false;}
if (text.Length()==0&&generatesql) {needQuote = false;} else
if (generatesql) needQuote = IsColText(cols[col]);
if (needQuote)
str.Append(qtsimbol);