From b6959d956e9ca6f8abbeeb7f132bdfc60bd17dd6 Mon Sep 17 00:00:00 2001
From: Fahad Al-Saidi <fahad.alsaidi@gmail.com>
Date: Sun, 6 Oct 2019 11:08:44 +0400
Subject: Font features:"Slashed Zero" automatically disabled if the font
 feature "Old Style" has been selected


diff --git a/scribus/ui/propertywidget_fontfeatures.cpp b/scribus/ui/propertywidget_fontfeatures.cpp
index 8828bf1ef..328556bdf 100644
--- a/scribus/ui/propertywidget_fontfeatures.cpp
+++ b/scribus/ui/propertywidget_fontfeatures.cpp
@@ -58,6 +58,7 @@ void PropertyWidget_FontFeatures::showFontFeatures(const QString& s, const QStri
 	QStringList fontFeatures = s.split(',');
 	ContextualCheck->setChecked(true);
 	CommonCheck->setChecked(true);
+	SlashedZeroCheck->setEnabled(true);
 	for (int i = 0; i < fontFeatures.count(); i++)
 	{
 		if (fontFeatures[i] == "-clig")
@@ -141,6 +142,11 @@ void PropertyWidget_FontFeatures::showFontFeatures(const QString& s, const QStri
 		else if (fontFeatures[i] == "+ss20")
 			StyleSet20->setChecked(true);
 	}
+	if (OldStyleRadio->isChecked())
+	{
+		SlashedZeroCheck->setChecked(false);
+		SlashedZeroCheck->setEnabled(false);
+	}
 }
 
 void PropertyWidget_FontFeatures::handleFontFeatures()
