Preserve file fusion input order with prefix (#1242)

* Preserve file fusion input order with prefix

Prepend a sequence index to temporary directory names to ensure user-specified order is preserved.

* don't sort items in GUI

* Add prefix only if sorted order is different

* Simplified sort prefix that will be removed from chapter name

* Restore adding prefix only when sorted order differs

* simplify prefix code

---------

Co-authored-by: Alex Xu <alexkurosakimh3@gmail.com>
This commit is contained in:
フィルターペーパー
2026-02-09 21:34:11 -08:00
committed by GitHub
co-authored by Alex Xu
parent 541b1d876b
commit ab93c03838
2 changed files with 17 additions and 4 deletions
+2 -1
View File
@@ -1091,7 +1091,8 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
if message[-1] == '/':
message = message[:-1]
self.handleMessage(message)
GUI.jobList.sortItems()
# sorting may conflict with manual file fusion order
# GUI.jobList.sortItems()
def forceShutdown(self):
self.saveSettings(None)