r18339 by fschmid - Fixed Bug #11629: SVG import positionning issue
scribus-commit
scribus-commit at lists.scribus.net
Tue Jun 25 20:34:22 UTC 2013
Author: fschmid
Date: Tue Jun 25 20:34:22 2013
New Revision: 18339
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18339
Log:
Fixed Bug #11629: SVG import positionning issue
Modified:
trunk/Scribus/scribus/canvasmode_objimport.cpp
Modified: trunk/Scribus/scribus/canvasmode_objimport.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18339&path=/trunk/Scribus/scribus/canvasmode_objimport.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_objimport.cpp (original)
+++ trunk/Scribus/scribus/canvasmode_objimport.cpp Tue Jun 25 20:34:22 2013
@@ -162,6 +162,13 @@
m_view->DrawNew();
return;
}
+}
+
+void CanvasMode_ObjImport::mouseReleaseEvent(QMouseEvent *m)
+{
+ m_canvas->m_viewMode.m_MouseButtonPressed = false;
+ m_canvas->resetRenderMode();
+ m->accept();
if ((m->button() == Qt::LeftButton) && m_mimeData)
{
UndoTransaction* undoTransaction = NULL;
@@ -183,13 +190,6 @@
// Return to normal mode
m_view->requestMode(modeNormal);
}
-}
-
-void CanvasMode_ObjImport::mouseReleaseEvent(QMouseEvent *m)
-{
- m_canvas->m_viewMode.m_MouseButtonPressed = false;
- m_canvas->resetRenderMode();
- m->accept();
// m_view->stopDragTimer();
m_canvas->setRenderModeUseBuffer(false);
More information about the scribus-commit
mailing list