From a6e6ec7a8ad9d89fa2254432da627e4f94eddb25 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Sat, 5 Oct 2019 14:58:38 -0400 Subject: [PATCH] Fix selection debug code in text edit --- TransmitTextEdit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TransmitTextEdit.cpp b/TransmitTextEdit.cpp index 34bbc5a..df06f22 100644 --- a/TransmitTextEdit.cpp +++ b/TransmitTextEdit.cpp @@ -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;