[GB.GTK]
* BUG: TextArea.Paste() and CTRL+V works correctly now. [GB.GTK3] * BUG: TextArea.Paste() and CTRL+V works correctly now. git-svn-id: svn://localhost/gambas/trunk@7272 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
dd102da9b6
commit
29ce64375f
1 changed files with 1 additions and 1 deletions
|
@ -677,7 +677,7 @@ void gTextArea::paste()
|
|||
if (gClipboard::getType() != gClipboard::Text)
|
||||
return;
|
||||
|
||||
txt = gClipboard::getText(&len, NULL);
|
||||
txt = gClipboard::getText(&len, "text/plain");
|
||||
if (txt)
|
||||
gtk_text_buffer_insert_at_cursor(_buffer, (const gchar *)txt, len);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue