Fix selection debug code in text edit

This commit is contained in:
Jordan Sherer 2019-10-05 14:58:38 -04:00
parent 6f111cdb73
commit a6e6ec7a8a

View File

@ -181,10 +181,10 @@ bool TransmitTextEdit::cursorShouldBeProtected(QTextCursor c){
start = x;
}
qDebug() << "selection" << start << end << m_sent;
//qDebug() << "selection" << start << end << 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;
} else {
return false;