eric7/WebBrowser/SpellCheck/ManageDictionariesDialog.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8351
7d13e08ddb3f
child 8358
144a6b854f70
--- a/eric7/WebBrowser/SpellCheck/ManageDictionariesDialog.py	Sat May 22 17:01:51 2021 +0200
+++ b/eric7/WebBrowser/SpellCheck/ManageDictionariesDialog.py	Sat May 22 18:51:46 2021 +0200
@@ -20,7 +20,7 @@
 )
 from PyQt6.QtNetwork import QNetworkRequest, QNetworkReply
 
-from E5Gui import E5MessageBox
+from E5Gui import EricMessageBox
 
 from .Ui_ManageDictionariesDialog import Ui_ManageDictionariesDialog
 
@@ -178,7 +178,7 @@
         
         if reply.error() != QNetworkReply.NetworkError.NoError:
             if not self.__downloadCancelled:
-                E5MessageBox.warning(
+                EricMessageBox.warning(
                     self,
                     self.tr("Error downloading dictionaries list"),
                     self.tr(
@@ -201,7 +201,7 @@
         url = Preferences.getWebBrowser("SpellCheckDictionariesUrl")
         if url != self.dictionariesUrlEdit.text():
             self.dictionariesUrlEdit.setText(url)
-            E5MessageBox.warning(
+            EricMessageBox.warning(
                 self,
                 self.tr("Dictionaries URL Changed"),
                 self.tr(
@@ -213,7 +213,7 @@
         
         if self.locationComboBox.count() == 0:
             # no writable locations available
-            E5MessageBox.warning(
+            EricMessageBox.warning(
                 self,
                 self.tr("Error installing dictionaries"),
                 self.tr(
@@ -359,7 +359,7 @@
         
         if reply.error() != QNetworkReply.NetworkError.NoError:
             if not self.__downloadCancelled:
-                E5MessageBox.warning(
+                EricMessageBox.warning(
                     self,
                     self.tr("Error downloading dictionary file"),
                     self.tr(
@@ -374,7 +374,7 @@
         archiveFile = io.BytesIO(bytes(archiveData))
         archive = zipfile.ZipFile(archiveFile, "r")
         if archive.testzip() is not None:
-            E5MessageBox.critical(
+            EricMessageBox.critical(
                 self,
                 self.tr("Error downloading dictionary"),
                 self.tr(

eric ide

mercurial