Plugins/WizardPlugins/InputDialogWizard/InputDialogWizardDialog.py

changeset 2094
88620e11c67c
parent 1509
c0b5e693b0eb
child 2297
e8a46f81517c
child 2303
0ed4ed026c16
--- a/Plugins/WizardPlugins/InputDialogWizard/InputDialogWizardDialog.py	Wed Oct 03 13:20:57 2012 +0200
+++ b/Plugins/WizardPlugins/InputDialogWizard/InputDialogWizardDialog.py	Wed Oct 03 15:36:41 2012 +0200
@@ -80,7 +80,7 @@
                 echomode,
                 self.eTextDefault.text())
         elif self.rInteger.isChecked():
-            QInputDialog.getInteger(
+            QInputDialog.getInt(
                 None,
                 self.eCaption.text(),
                 self.eLabel.text(),
@@ -143,7 +143,7 @@
                     os.linesep, istring, self.eTextDefault.text())
             code += '){0}'.format(estring)
         elif self.rInteger.isChecked():
-            code += 'getInteger({0}{1}'.format(os.linesep, istring)
+            code += 'getInt({0}{1}'.format(os.linesep, istring)
             code += 'None,{0}{1}'.format(os.linesep, istring)
             code += 'self.trUtf8("{0}"),{1}{2}'.format(
                 self.eCaption.text(), os.linesep, istring)

eric ide

mercurial