From c217ad02e3e3439b1153dc55ff14092cd05c7894 Mon Sep 17 00:00:00 2001 From: bogind Date: Tue, 19 Oct 2021 08:02:02 +0300 Subject: [PATCH] fixed missing import for QDialog which broke LoadStyle --- metadata.txt | 6 +++++- qlyrx.py | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/metadata.txt b/metadata.txt index 13db59d..1786bb6 100644 --- a/metadata.txt +++ b/metadata.txt @@ -10,7 +10,7 @@ name=qlyrx qgisMinimumVersion=3.0 description=Apply Arcgis Pro .lyrx style -version=0.3.2 +version=0.3.3 author=Netta Beninson, Dror Bogin email=dror.bogin@gmail.com @@ -23,6 +23,10 @@ repository=https://github.com/arc2qgis/qlyrx # Recommended items: changelog= + 2021-10-19 Version 0.3.3 + * Bug Fix version + added missing import for loading QML\SLD files which broke the tool. + 2021-10-10 Version 0.3.2 * Bug Fix version diff --git a/qlyrx.py b/qlyrx.py index 1b4d37c..185f68b 100644 --- a/qlyrx.py +++ b/qlyrx.py @@ -23,7 +23,7 @@ """ from PyQt5.QtCore import QSettings, QTranslator, qVersion, QCoreApplication, QPointF from PyQt5.QtGui import QIcon, QColor, QFont -from PyQt5.QtWidgets import QAction, QFileDialog, QHBoxLayout, QLabel, QComboBox +from PyQt5.QtWidgets import QAction, QFileDialog, QHBoxLayout, QLabel, QComboBox, QDialog from qgis.core import (QgsProject, QgsWkbTypes, QgsColorRampShader, QgsPresetSchemeColorRamp, QgsRasterShader, QgsRasterBandStats, QgsSymbol, QgsSingleSymbolRenderer,QgsSingleBandPseudoColorRenderer, QgsSimpleLineSymbolLayer, QgsLinePatternFillSymbolLayer, QgsFontMarkerSymbolLayer, QgsSettings,