message trimming fixed
authorDmitry Avdeev <Dmitry.Avdeev@jetbrains.com>
Wed, 24 Mar 2010 13:55:14 +0000 (16:55 +0300)
committerDmitry Avdeev <Dmitry.Avdeev@jetbrains.com>
Wed, 24 Mar 2010 13:55:14 +0000 (16:55 +0300)
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ChangeListManagerImpl.java

index 26bc7508ee3ce6036e596911cc8410816e0f6d2e..1c077171018d4173b7c8a81c346f19b1eb979a38 100644 (file)
@@ -142,7 +142,7 @@ public class ChangeListManagerImpl extends ChangeListManagerEx implements Projec
                     public void setValue(Value value) {
                       config.REMOVE_EMPTY_INACTIVE_CHANGELISTS = value;
                     }
-                  }, "<html>The empty changelist '" + StringUtil.last(oldDefaultList.getName(), 30, true) + "' is no longer active.<br>" +
+                  }, "<html>The empty changelist '" + StringUtil.first(oldDefaultList.getName(), 30, true) + "' is no longer active.<br>" +
                      "Do you want to remove it?</html>", "&Remember my choice");
                   dialog.show();
                   if (!dialog.isOK()) {