571 ok = ( |
571 ok = ( |
572 EricMessageBox.yesNo( |
572 EricMessageBox.yesNo( |
573 self, |
573 self, |
574 self.tr("Export Highlighting Styles"), |
574 self.tr("Export Highlighting Styles"), |
575 self.tr("""<p>The highlighting styles file <b>{0}</b> exists""" |
575 self.tr("""<p>The highlighting styles file <b>{0}</b> exists""" |
576 """ already. Overwrite it?</p>""").format(str(fpath))) |
576 """ already. Overwrite it?</p>""").format(fpath)) |
577 if fpath.exists() else |
577 if fpath.exists() else |
578 True |
578 True |
579 ) |
579 ) |
580 |
580 |
581 if ok: |
581 if ok: |