mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-11 17:53:50 -04:00
Lock the drag zone if the album is not editable so that users don't
start illegal drags.
This commit is contained in:
@@ -53,6 +53,11 @@
|
||||
thumb_data_view.bindStore(store);
|
||||
sort_column_combobox.setValue(album_info.sort_column);
|
||||
sort_order_combobox.setValue(album_info.sort_order);
|
||||
if (album_info.editable) {
|
||||
thumb_data_view.dragZone.unlock();
|
||||
} else {
|
||||
thumb_data_view.dragZone.lock();
|
||||
}
|
||||
},
|
||||
failure: show_generic_error
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user