eric6/IconEditor/IconEditorGrid.py

changeset 7759
51aa6c6b66f7
parent 7717
f32d7965a17e
child 7833
4bc2413f6123
--- a/eric6/IconEditor/IconEditorGrid.py	Mon Oct 05 19:51:55 2020 +0200
+++ b/eric6/IconEditor/IconEditorGrid.py	Tue Oct 06 17:52:44 2020 +0200
@@ -988,7 +988,7 @@
         """
         from .IconSizeDialog import IconSizeDialog
         dlg = IconSizeDialog(self.__image.width(), self.__image.height())
-        res = dlg.exec_()
+        res = dlg.exec()
         if res == QDialog.Accepted:
             newWidth, newHeight = dlg.getData()
             if (
@@ -1011,7 +1011,7 @@
         """
         from .IconSizeDialog import IconSizeDialog
         dlg = IconSizeDialog(self.__image.width(), self.__image.height())
-        res = dlg.exec_()
+        res = dlg.exec()
         if res == QDialog.Accepted:
             width, height = dlg.getData()
             img = QImage(width, height, QImage.Format_ARGB32)

eric ide

mercurial