Changed modorder saving to occur on exit
This commit is contained in:
parent
f25ebace0b
commit
ef95dc3a73
1 changed files with 0 additions and 3 deletions
|
@ -478,16 +478,13 @@ public class ManagerFrame extends JFrame implements ActionListener, HashObserver
|
|||
Object source = e.getSource();
|
||||
|
||||
if ( source == patchBtn ) {
|
||||
List<ModFileInfo> sortedMods = new ArrayList<ModFileInfo>();
|
||||
List<File> modFiles = new ArrayList<File>();
|
||||
|
||||
for ( int i=0; i < localModsTableModel.getRowCount(); i++ ) {
|
||||
if ( localModsTableModel.isSelected(i) ) {
|
||||
sortedMods.add( localModsTableModel.getItem(i) );
|
||||
modFiles.add( localModsTableModel.getItem(i).getFile() );
|
||||
}
|
||||
}
|
||||
saveModOrder( sortedMods );
|
||||
|
||||
File datsDir = new File( config.getProperty( "ftl_dats_path" ) );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue