summaryrefslogtreecommitdiff
path: root/org.tizen.common.connection
diff options
context:
space:
mode:
authorshingil.kang <shingil.kang@samsung.com>2014-02-07 17:54:15 +0900
committershingil.kang <shingil.kang@samsung.com>2014-02-07 17:54:15 +0900
commit3c9ac0974872a35dceed7c70c0dc9ee7d42f0619 (patch)
treea11ce280821c9e9da4bff383c4136cb0032c9eae /org.tizen.common.connection
parent040f822a176a2087c4e3a42778be7a5696ac25f2 (diff)
downloadcommon-eplugin-3c9ac0974872a35dceed7c70c0dc9ee7d42f0619.tar.gz
common-eplugin-3c9ac0974872a35dceed7c70c0dc9ee7d42f0619.tar.bz2
common-eplugin-3c9ac0974872a35dceed7c70c0dc9ee7d42f0619.zip
TOOLS: Disabled buttion when remote device information is removed from list in the Remote Device Manager.
when the remote device information is removed, the focus selection is lost. So, disabled connect/disconnect/edit/remove button. Change-Id: I431f3a146f1f4107081248fad2502e3f657f4fe2 Signed-off-by: shingil.kang <shingil.kang@samsung.com>
Diffstat (limited to 'org.tizen.common.connection')
-rw-r--r--org.tizen.common.connection/src/org/tizen/common/connection/explorer/RemoteDeviceManagerDialog.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.tizen.common.connection/src/org/tizen/common/connection/explorer/RemoteDeviceManagerDialog.java b/org.tizen.common.connection/src/org/tizen/common/connection/explorer/RemoteDeviceManagerDialog.java
index f67b8fd2f..c15721299 100644
--- a/org.tizen.common.connection/src/org/tizen/common/connection/explorer/RemoteDeviceManagerDialog.java
+++ b/org.tizen.common.connection/src/org/tizen/common/connection/explorer/RemoteDeviceManagerDialog.java
@@ -275,8 +275,7 @@ public class RemoteDeviceManagerDialog extends Dialog
if(table.getSelectionCount() != 0)
{
table.remove(table.getSelectionIndex());
- if(table.getItemCount() == 0)
- enableButtons(false);
+ enableButtons(false);
}
}
});