Fix data/object->preferences() calls.
This commit is contained in:
parent
f062689584
commit
4b66489034
|
@ -105,9 +105,9 @@ namespace LAview.Desktop {
|
|||
|
||||
void call_data_preferences () {
|
||||
var indices = get_data_indices ();
|
||||
for (int i = indices.length; i > 0;)
|
||||
var i = indices[0];
|
||||
foreach (var p in AppCore.core.data_plugins.entries)
|
||||
if (indices[--i] == 0) {
|
||||
if (i-- == 0) {
|
||||
try {
|
||||
p.value.preferences(dialog);
|
||||
break;
|
||||
|
@ -122,9 +122,9 @@ namespace LAview.Desktop {
|
|||
|
||||
void call_object_preferences () {
|
||||
var indices = get_objects_indices ();
|
||||
for (int i = indices.length; i > 0;)
|
||||
var i = indices[0];
|
||||
foreach (var p in AppCore.core.object_plugins.entries)
|
||||
if (indices[--i] == 0) {
|
||||
if (i-- == 0) {
|
||||
try {
|
||||
p.value.preferences(dialog);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue