aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2010-03-30 16:44:11 -0700
committerXavier Ducrohet <xav@android.com>2010-03-30 16:44:11 -0700
commit5358fdb3b8fa7798f7a8ff37f24b7cc70465ed24 (patch)
treee2c85195af69d9379627eb51ca293957fd3b857d
parentcc9db245bd07b361db1a86a0a6bae969a25b80df (diff)
downloadsdk-5358fdb3b8fa7798f7a8ff37f24b7cc70465ed24.zip
sdk-5358fdb3b8fa7798f7a8ff37f24b7cc70465ed24.tar.gz
sdk-5358fdb3b8fa7798f7a8ff37f24b7cc70465ed24.tar.bz2
ADT: fix library support: force save on del/up/down.
Bug: 2558499 Change-Id: Ic632822000ebd4e86d02a6f0517cf6ca89ee3cbc
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/properties/LibraryProperties.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/properties/LibraryProperties.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/properties/LibraryProperties.java
index 6bcc0d3..988dc3e 100644
--- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/properties/LibraryProperties.java
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/properties/LibraryProperties.java
@@ -179,6 +179,7 @@ final class LibraryProperties {
mItemDataList.remove(data);
mTable.remove(mTable.getSelectionIndex());
resetEnabled();
+ mMustSave = true;
}
});
@@ -201,6 +202,7 @@ final class LibraryProperties {
// reset the selection
mTable.select(index - 1);
resetEnabled();
+ mMustSave = true;
}
});
@@ -220,6 +222,7 @@ final class LibraryProperties {
// reset the selection
mTable.select(index + 1);
resetEnabled();
+ mMustSave = true;
}
});