Fix accidental re-ordering of pages when pages.image_index is disabled on a metadata type
This commit is contained in:
parent
a8f269aefa
commit
f4f732b742
@ -411,3 +411,5 @@ class PageListEditor(QtWidgets.QWidget):
|
||||
|
||||
for md_field, widget in self.md_attributes.items():
|
||||
enable_widget(widget, md_field in enabled_widgets)
|
||||
|
||||
self.listWidget.setDragEnabled(not ("pages.image_index" not in enabled_widgets and "pages" in enabled_widgets))
|
||||
|
Loading…
Reference in New Issue
Block a user