aboutsummaryrefslogtreecommitdiffstats
path: root/examples/graphs/widgetgallery/variantbardataproxy.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graphs/widgetgallery/variantbardataproxy.py')
-rw-r--r--examples/graphs/widgetgallery/variantbardataproxy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/graphs/widgetgallery/variantbardataproxy.py b/examples/graphs/widgetgallery/variantbardataproxy.py
index 743dafcca..5ab2a2cd2 100644
--- a/examples/graphs/widgetgallery/variantbardataproxy.py
+++ b/examples/graphs/widgetgallery/variantbardataproxy.py
@@ -64,8 +64,8 @@ class VariantBarDataProxy(QBarDataProxy):
# If we have no data or mapping, or the categories are not defined,
# simply clear the array
if (not self._dataSet or not self._mapping
- or not self._mapping.rowCategories()
- or not self._mapping.columnCategories()):
+ or not self._mapping.rowCategories()
+ or not self._mapping.columnCategories()):
self.resetArray()
return