eric7/IconEditor/IconEditorGrid.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8353
799196d0b05d
child 8358
144a6b854f70
diff -r 8a7677a63c8d -r 68ec9c3d4de5 eric7/IconEditor/IconEditorGrid.py
--- a/eric7/IconEditor/IconEditorGrid.py	Sat May 22 17:01:51 2021 +0200
+++ b/eric7/IconEditor/IconEditorGrid.py	Sat May 22 18:51:46 2021 +0200
@@ -17,7 +17,7 @@
 )
 from PyQt6.QtWidgets import QWidget, QSizePolicy, QApplication, QDialog
 
-from E5Gui import E5MessageBox
+from E5Gui import EricMessageBox
 
 
 class IconEditCommand(QUndoCommand):
@@ -940,7 +940,7 @@
                 img.width() > self.__image.width() or
                 img.height() > self.__image.height()
             ):
-                res = E5MessageBox.yesNo(
+                res = EricMessageBox.yesNo(
                     self,
                     self.tr("Paste"),
                     self.tr(
@@ -971,7 +971,7 @@
                     self.__pasteRect.topLeft(),
                     self.__pasteRect.bottomRight() + QPoint(1, 1))
         else:
-            E5MessageBox.warning(
+            EricMessageBox.warning(
                 self,
                 self.tr("Pasting Image"),
                 self.tr("""Invalid image data in clipboard."""))

eric ide

mercurial