r19312 by jghali - #12468: Typing 01 in page selector triggers crash

scribus-commit scribus-commit at lists.scribus.net
Thu Jul 3 19:31:04 UTC 2014


Author: jghali
Date: Thu Jul  3 19:31:03 2014
New Revision: 19312

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19312
Log:
#12468: Typing 01 in page selector triggers crash

Modified:
    trunk/Scribus/scribus/ui/pageselector.cpp

Modified: trunk/Scribus/scribus/ui/pageselector.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19312&path=/trunk/Scribus/scribus/ui/pageselector.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/pageselector.cpp (original)
+++ trunk/Scribus/scribus/ui/pageselector.cpp Thu Jul  3 19:31:03 2014
@@ -71,6 +71,7 @@
 	m_pageCombo = new ScComboBox( this );
 	m_pageCombo->setEditable(true);
 	m_pageCombo->setDuplicatesEnabled( false );
+	m_pageCombo->setInsertPolicy(QComboBox::NoInsert);
 	m_pageCombo->lineEdit()->setAlignment(Qt::AlignHCenter);
 	for (int i = 0; i < m_lastPage; ++i)
 	{




More information about the scribus-commit mailing list