r17025 by jghali - #10401 : Wrong mouse cursor when script error message appears

scribus-commit scribus-commit at lists.scribus.net
Sat Nov 26 00:06:40 UTC 2011


Author: jghali
Date: Sat Nov 26 00:06:40 2011
New Revision: 17025

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17025
Log:
#10401 : Wrong mouse cursor when script error message appears

Modified:
    branches/Version135/Scribus/scribus/plugins/scriptplugin/scriptercore.cpp

Modified: branches/Version135/Scribus/scribus/plugins/scriptplugin/scriptercore.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17025&path=/branches/Version135/Scribus/scribus/plugins/scriptplugin/scriptercore.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/plugins/scriptplugin/scriptercore.cpp (original)
+++ branches/Version135/Scribus/scribus/plugins/scriptplugin/scriptercore.cpp Sat Nov 26 00:06:40 2011
@@ -355,6 +355,7 @@
 				QClipboard *cp = QApplication::clipboard();
 				cp->setText(errorMsg);
 				ScCore->closeSplash();
+				qApp->changeOverrideCursor(QCursor(Qt::ArrowCursor));
 				QMessageBox::warning(ScCore->primaryMainWindow(),
 									tr("Script error"),
 									"<qt><p>"




More information about the scribus-commit mailing list