Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9c1c97a

Browse files
kbengsjeromerobert
authored andcommitted
Fix "export all to individual files" overwrite issue
Fix #764
1 parent 4aa56a3 commit 9c1c97a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pdfarranger/pdfarranger.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,8 +1136,9 @@ def save(self, mode, file_out):
11361136
pages = [self.model[row][0].duplicate(incl_thumbnail=False) for row in selection]
11371137
else:
11381138
self.export_directory = path
1139-
self.set_export_file(file_out)
11401139
pages = [row[0].duplicate(incl_thumbnail=False) for row in self.model]
1140+
if exportmode == 'ALL_TO_SINGLE':
1141+
self.set_export_file(file_out)
11411142

11421143
if self.config.content_loss_warning():
11431144
try:

0 commit comments

Comments
 (0)