r19535 by craig - #12453: Not sure when this last was what we wanted to happen, comment out to fix this bug
scribus-commit
scribus-commit at lists.scribus.net
Wed Sep 24 21:29:57 UTC 2014
Author: craig
Date: Wed Sep 24 21:29:57 2014
New Revision: 19535
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19535
Log:
#12453: Not sure when this last was what we wanted to happen, comment out to fix this bug
Modified:
trunk/Scribus/scribus/scribusview.cpp
Modified: trunk/Scribus/scribus/scribusview.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19535&path=/trunk/Scribus/scribus/scribusview.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusview.cpp (original)
+++ trunk/Scribus/scribus/scribusview.cpp Wed Sep 24 21:29:57 2014
@@ -4161,11 +4161,13 @@
else if (event->type() == QEvent::KeyPress)
{
QKeyEvent* m = static_cast<QKeyEvent*> (event);
- if(m->key() == Qt::Key_Shift)
+ /* #12453... what do we use this for?
+ if(m->key() == Qt::Key_Shift)
{
m_oldSnapToElem = Doc->SnapElement;
m_ScMW->SetSnapElements(false);
}
+ */
if (m_canvasMode->handleKeyEvents())
m_canvasMode->keyPressEvent(m);
else
@@ -4175,8 +4177,10 @@
else if (event->type() == QEvent::KeyRelease)
{
QKeyEvent* m = static_cast<QKeyEvent*> (event);
+ /* #12453... what do we use this for?
if(m->key() == Qt::Key_Shift)
m_ScMW->SetSnapElements(m_oldSnapToElem);
+ */
if (m_canvasMode->handleKeyEvents())
m_canvasMode->keyReleaseEvent(m);
else
More information about the scribus-commit
mailing list