mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
Copy screenshot context help press 's'.fix asserts.
Копирование окна контекстной помощи в буфер обмена по нажатию 's'.
This commit is contained in:
parent
e54809faf2
commit
2989801a84
4 changed files with 47 additions and 2 deletions
|
|
@ -522,7 +522,7 @@ int ctlSQLGrid::CopyTableToHtml(wxString htmlquery) {
|
|||
if (isRowsArray) rowPos = rows.Item(i);
|
||||
if (GetRowSize(rowPos) == 0) continue;
|
||||
htm += "<tr>\n";
|
||||
htm += wxString::Format("<td id=\"cn\"><pre>%d</pre></td>", rowPos + 1);
|
||||
htm += wxString::Format("<td id=\"cn\"><pre>%ld</pre></td>", rowPos + 1);
|
||||
for (int c = 0; c < cols.Count(); c++) {
|
||||
wxString text = GetCellValue(rowPos, cols[c]);
|
||||
htm += wxString::Format("<td id=\"c%d\"><pre>%s</pre></td>", c, escapeHtml(text, true));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue