This commit is contained in:
Kovid Goyal 2011-07-17 18:01:52 -06:00
parent 77ed3d106d
commit 0b2dcf358f

View File

@ -140,9 +140,11 @@ class RegexBuilder(QDialog, Ui_RegexBuilder):
as_path=True) as_path=True)
except OSError: except OSError:
if iswindows: if iswindows:
import traceback
error_dialog(self, _('Could not open file'), error_dialog(self, _('Could not open file'),
_('Could not open the file, do you have it open in' _('Could not open the file, do you have it open in'
' another program?'), show=True) ' another program?'), show=True,
det_msg=traceback.format_exc())
return False return False
raise raise
try: try: