Fixed Validation checking that scanned selected mods in reverse order

This commit is contained in:
Vhati 2013-08-24 20:01:33 -04:00
parent 33064ebff2
commit 1f2662f3f0
2 changed files with 2 additions and 1 deletions

View file

@ -7,6 +7,7 @@ Changelog
- Changed catalog auto-update url from GMM's repository to SMM's - Changed catalog auto-update url from GMM's repository to SMM's
- Added tolerance for non-standard zips containing backslash paths - Added tolerance for non-standard zips containing backslash paths
- Added a Validate warning for non-standard zips containing backslash paths - Added a Validate warning for non-standard zips containing backslash paths
- Fixed Validation checking that scanned selected mods in reverse order
1.0: 1.0:
- Changed mod list to a table with checkboxes - Changed mod list to a table with checkboxes

View file

@ -485,7 +485,7 @@ public class ManagerFrame extends JFrame implements ActionListener, HashObserver
StringBuilder resultBuf = new StringBuilder(); StringBuilder resultBuf = new StringBuilder();
boolean anyInvalid = false; boolean anyInvalid = false;
for ( int i = localModsTableModel.getRowCount()-1; i >= 0; i-- ) { for ( int i=0; i < localModsTableModel.getRowCount(); i++ ) {
if ( !localModsTableModel.isSelected(i) ) continue; if ( !localModsTableModel.isSelected(i) ) continue;
ModFileInfo modFileInfo = localModsTableModel.getItem( i ); ModFileInfo modFileInfo = localModsTableModel.getItem( i );