Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2014-04-23 09:04:37 -0400
committerTobias Schwarz2014-04-23 09:04:37 -0400
commit00345251786604453389bdefa82043a8e633a85b (patch)
tree2d6d31b1ce677c051c65bd82a6e6b1cd1fc22d12
parentff7ab2595b8a96f0dfeb972e9fb88cb2c168d7c3 (diff)
downloadorg.eclipse.tcf-00345251786604453389bdefa82043a8e633a85b.tar.gz
org.eclipse.tcf-00345251786604453389bdefa82043a8e633a85b.tar.xz
org.eclipse.tcf-00345251786604453389bdefa82043a8e633a85b.zip
Target Explorer: fix max number of history actions
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/handler/ActionHistoryToolbarContribution.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/handler/ActionHistoryToolbarContribution.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/handler/ActionHistoryToolbarContribution.java
index 025cdbf6f..5a838ea93 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/handler/ActionHistoryToolbarContribution.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/handler/ActionHistoryToolbarContribution.java
@@ -75,7 +75,7 @@ public class ActionHistoryToolbarContribution extends CompoundContributionItem i
if (entries != null && entries.length > 0) {
int count = 0;
for (final String entry : entries) {
- if (count > 5) {
+ if (count >= 5) {
break;
}
IPropertiesContainer decoded = DataHelper.decodePropertiesContainer(entry);

Back to the top