389 dlg = EricProcessDialog( |
389 dlg = EricProcessDialog( |
390 self.tr("'dfu-util' Output"), |
390 self.tr("'dfu-util' Output"), |
391 self.tr("List DFU capable Devices"), |
391 self.tr("List DFU capable Devices"), |
392 monospacedFont=Preferences.getEditorOtherFonts("MonospacedFont"), |
392 monospacedFont=Preferences.getEditorOtherFonts("MonospacedFont"), |
393 encoding=Preferences.getSystem("IOEncoding"), |
393 encoding=Preferences.getSystem("IOEncoding"), |
|
394 parent=self.microPython, |
394 ) |
395 ) |
395 res = dlg.startProcess(program, args) |
396 res = dlg.startProcess(program, args) |
396 if res: |
397 if res: |
397 dlg.exec() |
398 dlg.exec() |
398 |
399 |
432 self.tr("Flash MicroPython Firmware"), |
433 self.tr("Flash MicroPython Firmware"), |
433 monospacedFont=Preferences.getEditorOtherFonts( |
434 monospacedFont=Preferences.getEditorOtherFonts( |
434 "MonospacedFont" |
435 "MonospacedFont" |
435 ), |
436 ), |
436 encoding=Preferences.getSystem("IOEncoding"), |
437 encoding=Preferences.getSystem("IOEncoding"), |
|
438 parent=self.microPython, |
437 ) |
439 ) |
438 res = dlg.startProcess(program, args) |
440 res = dlg.startProcess(program, args) |
439 if res: |
441 if res: |
440 dlg.exec() |
442 dlg.exec() |
441 self.__showDfuDisableInstructions() |
443 self.__showDfuDisableInstructions() |