fixed copy-paste error in dialog for bring to front

This commit is contained in:
bancika
2017-05-12 15:36:47 +02:00
parent a75c9830e5
commit 1bcb630619
@@ -1636,8 +1636,8 @@ public class Presenter implements IPlugInPort {
&& (forceConfirmation = && (forceConfirmation =
this.view this.view
.showConfirmDialog( .showConfirmDialog(
"Selected component(s) have reached the bottom of their layer. Do you want to force the selection to the back?", "Selected component(s) have reached the top of their layer. Do you want to force the selection to the top?",
"Send Selection to Back", IView.YES_NO_OPTION, IView.QUESTION_MESSAGE)) != IView.YES_OPTION) "Bring Selection to Front", IView.YES_NO_OPTION, IView.QUESTION_MESSAGE)) != IView.YES_OPTION)
break; break;
} }
Collections.swap(currentProject.getComponents(), index, index + 1); Collections.swap(currentProject.getComponents(), index, index + 1);