r24056 by craig - Revert oops commit
scribus-commit
scribus-commit at lists.scribus.net
Thu Oct 8 21:19:30 UTC 2020
Author: craig
Date: Thu Oct 8 21:19:29 2020
New Revision: 24056
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24056
Log:
Revert oops commit
Modified:
trunk/Scribus/scribus/canvasmode_edit.cpp
Modified: trunk/Scribus/scribus/canvasmode_edit.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24056&path=/trunk/Scribus/scribus/canvasmode_edit.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_edit.cpp (original)
+++ trunk/Scribus/scribus/canvasmode_edit.cpp Thu Oct 8 21:19:29 2020
@@ -527,7 +527,6 @@
void CanvasMode_Edit::mousePressEvent(QMouseEvent *m)
{
- qDebug()<<"CanvasMode_Edit::mousePressEvent 1"<<m_doc->isModified();
if (UndoManager::undoEnabled())
{
SimpleState *ss = dynamic_cast<SimpleState*>(undoManager->getLastUndo());
@@ -577,33 +576,28 @@
int oldP=0;
if (GetItem(&currItem))
{
- qDebug()<<"CanvasMode_Edit::mousePressEvent 2"<<m_doc->isModified();
// m_view->slotDoCurs(false);
if ((!currItem->locked() || currItem->isTextFrame()) && !currItem->isLine())
{
FPoint canvasPoint = m_canvas->globalToCanvas(m->globalPos());
if (m_canvas->frameHitTest(QPointF(canvasPoint.x(), canvasPoint.y()), currItem) < 0)
{
- qDebug()<<"CanvasMode_Edit::mousePressEvent 3"<<m_doc->isModified();
m_doc->m_Selection->delaySignalsOn();
m_view->deselectItems(true);
bool wantNormal = true;
if (SeleItem(m))
{
- qDebug()<<"CanvasMode_Edit::mousePressEvent 4"<<m_doc->isModified();
currItem = m_doc->m_Selection->itemAt(0);
if ((currItem->isTextFrame()) || (currItem->isImageFrame()))
{
m_view->requestMode(modeEdit);
wantNormal = false;
- qDebug()<<"CanvasMode_Edit::mousePressEvent 21"<<m_doc->isModified();
}
else
{
m_view->requestMode(submodePaintingDone);
m_view->setCursor(QCursor(Qt::ArrowCursor));
}
- qDebug()<<"CanvasMode_Edit::mousePressEvent 10"<<m_doc->isModified();
if (currItem->isTextFrame())
{
m_view->slotSetCurs(m->globalPos().x(), m->globalPos().y());
@@ -714,7 +708,6 @@
}
else if (!currItem->isImageFrame() || m_canvas->frameHitTest(QPointF(mousePointDoc.x(),mousePointDoc.y()), currItem) < 0)
{
- qDebug()<<"CanvasMode_Edit::mousePressEvent 7"<<m_doc->isModified();
m_view->deselectItems(true);
if (SeleItem(m))
{
More information about the scribus-commit
mailing list