Skip to content

Commit

Permalink
* Fixed a misplaced parenthesis disabling adding new tabs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Talkarcabbage committed Jan 16, 2015
1 parent 2e38f08 commit 3e92eb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion RS Timer/src/com/minepop/talkar/timer/gui/MainWin.java
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ public void actionPerformed(ActionEvent e) {
} else if (((JButton) o).getName().equals("addTabButton")) {
String tabName = JOptionPane.showInputDialog(null, "Input a name for the tab.");
int tabRows = Integer.parseInt(JOptionPane.showInputDialog("Enter the number of rows for the tab.", this.getGridRows()));
int tabColumns = Integer.parseInt(JOptionPane.showInputDialog("Enter the number of rows for the tab."), this.getGridColumns());
int tabColumns = Integer.parseInt(JOptionPane.showInputDialog("Enter the number of columns for the tab.", this.getGridColumns()));
addNewTab(tabRows, tabColumns, tabName);
Main.saveTimers();
}
Expand Down
4 changes: 2 additions & 2 deletions RS Timer/timers.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
cfg,gridColumns,2
cfg,gridRows,5
tab,5,2,Dailies
tab,5,2,asdf
timer,1.4187744E12,8.64E7,1,false,Sandstone
timer,1.418688E12,8.64E7,1,false,Battlestaves
timer,1.4184288E12,8.64E7,1,false,Daily Challenge
Expand All @@ -12,8 +13,7 @@ timer,1.4187744E12,8.64E7,1,false,Wicked Hood
timer,1.4186016E12,8.64E7,1,false,Slime
timer,1.4186016E12,8.64E7,1,false,Serenity Post
timer,1.4185152E12,8.64E7,1,false,Arraxor
timer,1.4185152E12,8.64E7,1,false,Gorajo
timer,1.418798579577E12,4800000.0,0,true,Herb Run
timer,1.418688E12,8.64E7,1,false,Potato Cactus
timer,1.42128E12,8.64E7,1,false,Potato Cactus
timer,1.420057717255E12,8.642E7,0,true,Vitamin
timer,1.420695301285E12,180000.0,0,true,3 Minutes

0 comments on commit 3e92eb3

Please sign in to comment.