Changeset b1546e6


Ignore:
Timestamp:
Jul 17, 2010, 10:37:56 AM (8 years ago)
Author:
Michael Seifert <mseifert@…>
Branches:
master
Children:
21cbbb6
Parents:
618ba61
Message:

Opening a new folder will be deactivated, if there already are parsed replays

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/de/erichseifert/warp/gui/ReplayParserGUI.java

    r618ba61 rb1546e6  
    146146        private final WARP warp;
    147147
     148        private final Action openAction;
     149
    148150        private final JComboBox filterMode;
    149151        private final JTextField filterField;
     
    177179
    178180                // Actions
    179                 Action openAction = new AbstractAction() {
     181                openAction = new AbstractAction() {
    180182                        @Override
    181183                        public void actionPerformed(ActionEvent e) {
     
    465467
    466468                if (replayTableModel.getRowCount() > 0) {
     469                        openAction.setEnabled(false);
    467470                        setSearchEnabled(true);
    468471                }
    469472                else {
    470473                        setSearchEnabled(false);
     474                        openAction.setEnabled(true);
    471475                }
    472476        }
Note: See TracChangeset for help on using the changeset viewer.