Skip to content

Commit 3e92eb3

Browse files
author
Talkarcabbage
committed
* Fixed a misplaced parenthesis disabling adding new tabs.
1 parent 2e38f08 commit 3e92eb3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

RS Timer/src/com/minepop/talkar/timer/gui/MainWin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ public void actionPerformed(ActionEvent e) {
337337
} else if (((JButton) o).getName().equals("addTabButton")) {
338338
String tabName = JOptionPane.showInputDialog(null, "Input a name for the tab.");
339339
int tabRows = Integer.parseInt(JOptionPane.showInputDialog("Enter the number of rows for the tab.", this.getGridRows()));
340-
int tabColumns = Integer.parseInt(JOptionPane.showInputDialog("Enter the number of rows for the tab."), this.getGridColumns());
340+
int tabColumns = Integer.parseInt(JOptionPane.showInputDialog("Enter the number of columns for the tab.", this.getGridColumns()));
341341
addNewTab(tabRows, tabColumns, tabName);
342342
Main.saveTimers();
343343
}

RS Timer/timers.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
cfg,gridColumns,2
22
cfg,gridRows,5
33
tab,5,2,Dailies
4+
tab,5,2,asdf
45
timer,1.4187744E12,8.64E7,1,false,Sandstone
56
timer,1.418688E12,8.64E7,1,false,Battlestaves
67
timer,1.4184288E12,8.64E7,1,false,Daily Challenge
@@ -12,8 +13,7 @@ timer,1.4187744E12,8.64E7,1,false,Wicked Hood
1213
timer,1.4186016E12,8.64E7,1,false,Slime
1314
timer,1.4186016E12,8.64E7,1,false,Serenity Post
1415
timer,1.4185152E12,8.64E7,1,false,Arraxor
15-
timer,1.4185152E12,8.64E7,1,false,Gorajo
1616
timer,1.418798579577E12,4800000.0,0,true,Herb Run
17-
timer,1.418688E12,8.64E7,1,false,Potato Cactus
17+
timer,1.42128E12,8.64E7,1,false,Potato Cactus
1818
timer,1.420057717255E12,8.642E7,0,true,Vitamin
1919
timer,1.420695301285E12,180000.0,0,true,3 Minutes

0 commit comments

Comments
 (0)