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

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


Author: jghali
Date: Thu Jul  3 19:31:58 2014
New Revision: 19313

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

Modified:
    branches/Version14x/Scribus/scribus/pageselector.cpp

Modified: branches/Version14x/Scribus/scribus/pageselector.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19313&path=/branches/Version14x/Scribus/scribus/pageselector.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/pageselector.cpp (original)
+++ branches/Version14x/Scribus/scribus/pageselector.cpp Thu Jul  3 19:31:58 2014
@@ -107,6 +107,7 @@
 	PageCombo = new ScComboBox( this );
 	PageCombo->setEditable(true);
 	PageCombo->setDuplicatesEnabled( false );
+	PageCombo->setInsertPolicy(QComboBox::NoInsert);
 	PageCombo->lineEdit()->setAlignment(Qt::AlignHCenter);
 	for (int a = 0; a < LastPG; ++a)
 	{




More information about the scribus-commit mailing list