eric6/Plugins/PluginWizardQInputDialog.py

changeset 7759
51aa6c6b66f7
parent 7360
9190402e4505
child 7780
41420f82c0ac
equal deleted inserted replaced
7758:dd54d33d21d2 7759:51aa6c6b66f7
102 """ 102 """
103 from WizardPlugins.InputDialogWizard.InputDialogWizardDialog import ( 103 from WizardPlugins.InputDialogWizard.InputDialogWizardDialog import (
104 InputDialogWizardDialog 104 InputDialogWizardDialog
105 ) 105 )
106 dlg = InputDialogWizardDialog(None) 106 dlg = InputDialogWizardDialog(None)
107 if dlg.exec_() == QDialog.Accepted: 107 if dlg.exec() == QDialog.Accepted:
108 line, index = editor.getCursorPosition() 108 line, index = editor.getCursorPosition()
109 indLevel = editor.indentation(line) // editor.indentationWidth() 109 indLevel = editor.indentation(line) // editor.indentationWidth()
110 if editor.indentationsUseTabs(): 110 if editor.indentationsUseTabs():
111 indString = '\t' 111 indString = '\t'
112 else: 112 else:

eric ide

mercurial