eric6/Plugins/PluginWizardDotDesktop.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
130 130
131 from WizardPlugins.DotDesktopWizard.DotDesktopWizardDialog import ( 131 from WizardPlugins.DotDesktopWizard.DotDesktopWizardDialog import (
132 DotDesktopWizardDialog 132 DotDesktopWizardDialog
133 ) 133 )
134 dlg = DotDesktopWizardDialog(None) 134 dlg = DotDesktopWizardDialog(None)
135 if dlg.exec() == QDialog.Accepted: 135 if dlg.exec() == QDialog.DialogCode.Accepted:
136 code = dlg.getCode() 136 code = dlg.getCode()
137 if code: 137 if code:
138 editor.selectAll() 138 editor.selectAll()
139 # It should be done on this way to allow undo 139 # It should be done on this way to allow undo
140 editor.beginUndoAction() 140 editor.beginUndoAction()

eric ide

mercurial