Skip to content

Commit

Permalink
Merge pull request #3 from Felys1998/patch-1
Browse files Browse the repository at this point in the history
Missed a few more typos
  • Loading branch information
DeltaBreaker authored Jun 26, 2022
2 parents 315128c + 5a8b75d commit 8d685bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/com/github/deltabreaker/gui/GUIMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ public void actionPerformed(ActionEvent e) {
recency.addChangeListener(new ChangeListener() {
@Override
public void stateChanged(ChangeEvent e) {
recentcyLabel
.setText("Recency: " + recentcy.getValue() + " hour" + ((recentcy.getValue() > 1) ? "s" : ""));
recencyLabel
.setText("Recency: " + recency.getValue() + " hour" + ((recency.getValue() > 1) ? "s" : ""));
}
});
add(recency);
Expand Down Expand Up @@ -152,7 +152,7 @@ public void stateChanged(ChangeEvent e) {
public void actionPerformed(ActionEvent e) {
try {
JOptionPane.showMessageDialog(update, "Updating market data. This may take a while.");
new Thread(new GUIMarketUpdateThread(recentcy.getValue() * 3600, update.getParent())).start();
new Thread(new GUIMarketUpdateThread(recency.getValue() * 3600, update.getParent())).start();
} catch (Exception e1) {
e1.printStackTrace();
}
Expand Down

0 comments on commit 8d685bb

Please sign in to comment.