eric6/Plugins/PluginWizardDotDesktop.py

changeset 7759
51aa6c6b66f7
parent 7360
9190402e4505
child 7780
41420f82c0ac
equal deleted inserted replaced
7758:dd54d33d21d2 7759:51aa6c6b66f7
131 131
132 from WizardPlugins.DotDesktopWizard.DotDesktopWizardDialog import ( 132 from WizardPlugins.DotDesktopWizard.DotDesktopWizardDialog import (
133 DotDesktopWizardDialog 133 DotDesktopWizardDialog
134 ) 134 )
135 dlg = DotDesktopWizardDialog(None) 135 dlg = DotDesktopWizardDialog(None)
136 if dlg.exec_() == QDialog.Accepted: 136 if dlg.exec() == QDialog.Accepted:
137 code = dlg.getCode() 137 code = dlg.getCode()
138 if code: 138 if code:
139 editor.selectAll() 139 editor.selectAll()
140 # It should be done on this way to allow undo 140 # It should be done on this way to allow undo
141 editor.beginUndoAction() 141 editor.beginUndoAction()

eric ide

mercurial