Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.swtbot.swt.finder/src/org/eclipse/swtbot/swt/finder/widgets/SWTBotTable.java')
-rw-r--r--org.eclipse.swtbot.swt.finder/src/org/eclipse/swtbot/swt/finder/widgets/SWTBotTable.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.swtbot.swt.finder/src/org/eclipse/swtbot/swt/finder/widgets/SWTBotTable.java b/org.eclipse.swtbot.swt.finder/src/org/eclipse/swtbot/swt/finder/widgets/SWTBotTable.java
index c3171d0c..b3d81288 100644
--- a/org.eclipse.swtbot.swt.finder/src/org/eclipse/swtbot/swt/finder/widgets/SWTBotTable.java
+++ b/org.eclipse.swtbot.swt.finder/src/org/eclipse/swtbot/swt/finder/widgets/SWTBotTable.java
@@ -229,7 +229,7 @@ public class SWTBotTable extends AbstractSWTBot<Table> {
* @since 1.0
*/
public void select(final String... items) {
- assertEnabled();
+ waitForEnabled();
setFocus();
int[] itemIndicies = new int[items.length];
for(int i = 0; i < items.length; i++) {
@@ -307,7 +307,7 @@ public class SWTBotTable extends AbstractSWTBot<Table> {
* Unselect all selections.
*/
public void unselect() {
- assertEnabled();
+ waitForEnabled();
setFocus();
asyncExec(new VoidResult() {
public void run() {
@@ -324,7 +324,7 @@ public class SWTBotTable extends AbstractSWTBot<Table> {
* @param indices the row indices to select in the table.
*/
public void select(final int... indices) {
- assertEnabled();
+ waitForEnabled();
if (indices.length > 1)
assertMultiSelect();
setFocus();

Back to the top