src/eric7/QScintilla/Shell.py

branch
eric7
changeset 10167
0a62a4bf749c
parent 10161
b0ccdb47acde
child 10191
dc47d7d2ff34
equal deleted inserted replaced
10166:a55bc571e023 10167:0a62a4bf749c
2434 if fpath.exists(): 2434 if fpath.exists():
2435 res = EricMessageBox.yesNo( 2435 res = EricMessageBox.yesNo(
2436 self, 2436 self,
2437 self.tr("Save Shell Contents"), 2437 self.tr("Save Shell Contents"),
2438 self.tr( 2438 self.tr(
2439 "<p>The file <b>{0}</b> already exists." 2439 "<p>The file <b>{0}</b> already exists. Overwrite it?</p>"
2440 " Overwrite it?</p>"
2441 ).format(fpath), 2440 ).format(fpath),
2442 icon=EricMessageBox.Warning, 2441 icon=EricMessageBox.Warning,
2443 ) 2442 )
2444 if not res: 2443 if not res:
2445 return 2444 return

eric ide

mercurial