Skip to content

Commit 4fa0e7b

Browse files
author
DanFaria
committed

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

AgreementMakerLight/src/aml/Main.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ else if(option[0].equals("selection_type"))
372372
{
373373
if(option[1].equalsIgnoreCase("none"))
374374
continue;
375-
selection.add(MatchStep.PROPERTY);
375+
selection.add(MatchStep.SELECT);
376376
if(!option[1].equalsIgnoreCase("auto"))
377377
aml.setSelectionType(SelectionType.parseSelector(option[1]));
378378
}
@@ -383,6 +383,7 @@ else if(option[0].equals("repair_alignment"))
383383
}
384384
}
385385
in.close();
386+
aml.setMatchSteps(selection);
386387
}
387388
catch(Exception e)
388389
{

AgreementMakerLight/src/aml/ui/AlignmentPanel.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,10 @@ public void refresh()
203203
setIncorrect.setBackground(AMLColor.RED);
204204
setIncorrect.setPreferredSize(new Dimension(110,28));
205205
setIncorrect.addActionListener(this);
206-
sortAsc = new JButton("Sort ");
206+
sortAsc = new JButton("Sort \u2191");
207207
sortAsc.setPreferredSize(new Dimension(110,28));
208208
sortAsc.addActionListener(this);
209-
sortDes = new JButton("Sort ");
209+
sortDes = new JButton("Sort \u2193");
210210
sortDes.setPreferredSize(new Dimension(110,28));
211211
sortDes.addActionListener(this);
212212
search = new JButton("Search");

0 commit comments

Comments
 (0)