--- a/Plugins/PluginWizardQMessageBox.py Sun Feb 14 14:16:29 2010 +0000 +++ b/Plugins/PluginWizardQMessageBox.py Sun Feb 14 15:46:41 2010 +0000 @@ -100,7 +100,7 @@ dlg = MessageBoxWizardDialog(None) if dlg.exec_() == QDialog.Accepted: line, index = editor.getCursorPosition() - indLevel = editor.indentation(line)/editor.indentationWidth() + indLevel = editor.indentation(line) // editor.indentationWidth() if editor.indentationsUseTabs(): indString = '\t' else: @@ -126,4 +126,4 @@ # It should be done on this way to allow undo editor.beginUndoAction() editor.insertAt(code, line, index) - editor.endUndoAction() \ No newline at end of file + editor.endUndoAction()