r23681 by jghali - Fix duplicated range items in note style editor

scribus-commit scribus-commit at lists.scribus.net
Sun May 3 15:58:51 UTC 2020


Author: jghali
Date: Sun May  3 15:58:51 2020
New Revision: 23681

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23681
Log:
Fix duplicated range items in note style editor

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

Modified: trunk/Scribus/scribus/ui/notesstyleseditor.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23681&path=/trunk/Scribus/scribus/ui/notesstyleseditor.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/notesstyleseditor.cpp	(original)
+++ trunk/Scribus/scribus/ui/notesstyleseditor.cpp	Sun May  3 15:58:51 2020
@@ -90,6 +90,7 @@
 
 	bool rangeBlocked = RangeBox->blockSignals(true);
 	int  rangeIndex = RangeBox->currentIndex();
+	RangeBox->clear();
 	RangeBox->addItem(tr("Document"), static_cast<int>(NSRdocument));
 	RangeBox->addItem(tr("Story"), static_cast<int>(NSRstory));
 	if (rangeIndex >= 0)




More information about the scribus-commit mailing list