From 980ff7384180064cd2ee097421d1e0f5f72d8a08 Mon Sep 17 00:00:00 2001 From: Michael Holthausen Date: Tue, 18 May 2021 13:40:44 +0200 Subject: [PATCH] Change comparison operator --- src/QGISStyleParser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/QGISStyleParser.ts b/src/QGISStyleParser.ts index 9610395f..535839f4 100644 --- a/src/QGISStyleParser.ts +++ b/src/QGISStyleParser.ts @@ -902,7 +902,7 @@ export class QGISStyleParser implements StyleParser { const type: string = 'RuleRenderer'; const rules: any[] = []; const symbols: any[] = this.getQmlSymbolsFromStyle(geoStylerStyle, rules); - if (rules.length > 0 && symbols.length > 0) { + if (rules.length > 0 || symbols.length > 0) { return { qgis: { $: {},