r20078 by craig - #12228: Handle the input method a little better
scribus-commit
scribus-commit at lists.scribus.net
Wed May 13 23:06:38 UTC 2015
Author: craig
Date: Wed May 13 23:06:38 2015
New Revision: 20078
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20078
Log:
#12228: Handle the input method a little better
Modified:
trunk/Scribus/scribus/scribusview.cpp
Modified: trunk/Scribus/scribus/scribusview.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20078&path=/trunk/Scribus/scribus/scribusview.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusview.cpp (original)
+++ trunk/Scribus/scribus/scribusview.cpp Wed May 13 23:06:38 2015
@@ -3950,7 +3950,10 @@
void ScribusView::keyPressEvent(QKeyEvent *k)
{
- m_ScMW->keyPressEvent(k);
+ if (m_canvasMode->handleKeyEvents())
+ m_canvasMode->keyPressEvent(k);
+ else
+ m_ScMW->keyPressEvent(k);
}
void ScribusView::keyReleaseEvent(QKeyEvent *k)
More information about the scribus-commit
mailing list