diff --git a/nw/__init__.py b/nw/__init__.py index 54ccd759..6d53ead4 100644 --- a/nw/__init__.py +++ b/nw/__init__.py @@ -221,14 +221,14 @@ def main(sysArgs=None): "At least Python 3.6.0 is required, found %s." % CONFIG.verPyString ) errorCode |= 4 - if CONFIG.verQtValue < 50200: + if CONFIG.verQtValue < 50300: errorData.append( - "At least Qt5 version 5.2 is required, found %s." % CONFIG.verQtString + "At least Qt5 version 5.3 is required, found %s." % CONFIG.verQtString ) errorCode |= 8 - if CONFIG.verPyQtValue < 50200: + if CONFIG.verPyQtValue < 50300: errorData.append( - "At least PyQt5 version 5.2 is required, found %s." % CONFIG.verPyQtString + "At least PyQt5 version 5.3 is required, found %s." % CONFIG.verPyQtString ) errorCode |= 16 diff --git a/nw/gui/doceditor.py b/nw/gui/doceditor.py index 9f4949a4..f5269769 100644 --- a/nw/gui/doceditor.py +++ b/nw/gui/doceditor.py @@ -2050,7 +2050,7 @@ class GuiDocEditSearch(QFrame): self._alertSearchValid(theRegEx.isValid()) return theRegEx - elif self.mainConf.verQtValue >= 50300: + else: # >= 50300 to < 51300 if self.isCaseSense: rxOpt = Qt.CaseSensitive else: