Fix selection debug code in text edit
This commit is contained in:
parent
6f111cdb73
commit
a6e6ec7a8a
@ -181,10 +181,10 @@ bool TransmitTextEdit::cursorShouldBeProtected(QTextCursor c){
|
|||||||
start = x;
|
start = x;
|
||||||
}
|
}
|
||||||
|
|
||||||
qDebug() << "selection" << start << end << m_sent;
|
//qDebug() << "selection" << start << end << m_sent;
|
||||||
|
|
||||||
if(m_sent && start <= m_sent){
|
if(m_sent && start <= m_sent){
|
||||||
qDebug() << "selection in protected zone" << start << "<=" << m_sent;
|
//qDebug() << "selection in protected zone" << start << "<=" << m_sent;
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user