Fix copy&paste for EFL applications

Fixes issue 4021.
This commit is contained in:
Jean-Philippe Andre 2014-10-22 20:32:16 +09:00
parent 972922607b
commit 9e358233c3
1 changed files with 8 additions and 2 deletions

View File

@ -937,8 +937,14 @@ CXWindowsClipboard::pushReplies()
for (CReplyMap::iterator index = m_replies.begin();
index != m_replies.end(); ) {
assert(!index->second.empty());
if (!index->second.front()->m_replied) {
pushReplies(index, index->second, index->second.begin());
CReplyList::iterator listit = index->second.begin();
while (listit != index->second.end()) {
if (!(*listit)->m_replied)
break;
++listit;
}
if (listit != index->second.end() && !(*listit)->m_replied) {
pushReplies(index, index->second, listit);
}
else {
++index;