mirror of
https://github.com/correl/mage.git
synced 2024-11-25 11:09:53 +00:00
Fixed missing code in Pioneer format
This commit is contained in:
parent
cf39bce677
commit
4ab598a7c9
2 changed files with 30 additions and 1 deletions
|
@ -366,6 +366,20 @@
|
||||||
<Events>
|
<Events>
|
||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnFilterActionPerformed"/>
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnFilterActionPerformed"/>
|
||||||
</Events>
|
</Events>
|
||||||
|
</Component>
|
||||||
|
<Component class="javax.swing.JToggleButton" name="btnFormatPioneer">
|
||||||
|
<Properties>
|
||||||
|
<Property name="selected" type="boolean" value="true"/>
|
||||||
|
<Property name="text" type="java.lang.String" value="Pioneer"/>
|
||||||
|
<Property name="toolTipText" type="java.lang.String" value="Pioneer format."/>
|
||||||
|
<Property name="focusPainted" type="boolean" value="false"/>
|
||||||
|
<Property name="focusable" type="boolean" value="false"/>
|
||||||
|
<Property name="requestFocusEnabled" type="boolean" value="false"/>
|
||||||
|
<Property name="verifyInputWhenFocusTarget" type="boolean" value="false"/>
|
||||||
|
</Properties>
|
||||||
|
<Events>
|
||||||
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnFilterActionPerformed"/>
|
||||||
|
</Events>
|
||||||
</Component>
|
</Component>
|
||||||
<Component class="javax.swing.JToggleButton" name="btnFormatLegacy">
|
<Component class="javax.swing.JToggleButton" name="btnFormatLegacy">
|
||||||
<Properties>
|
<Properties>
|
||||||
|
|
|
@ -333,7 +333,7 @@ public class TablesPanel extends javax.swing.JPanel {
|
||||||
filterButtons = new JToggleButton[]{btnStateWaiting, btnStateActive, btnStateFinished,
|
filterButtons = new JToggleButton[]{btnStateWaiting, btnStateActive, btnStateFinished,
|
||||||
btnTypeMatch, btnTypeTourneyConstructed, btnTypeTourneyLimited,
|
btnTypeMatch, btnTypeTourneyConstructed, btnTypeTourneyLimited,
|
||||||
btnFormatBlock, btnFormatStandard, btnFormatModern, btnFormatLegacy, btnFormatVintage, btnFormatPremodern, btnFormatCommander, btnFormatTinyLeader, btnFormatLimited, btnFormatOther,
|
btnFormatBlock, btnFormatStandard, btnFormatModern, btnFormatLegacy, btnFormatVintage, btnFormatPremodern, btnFormatCommander, btnFormatTinyLeader, btnFormatLimited, btnFormatOther,
|
||||||
btnSkillBeginner, btnSkillCasual, btnSkillSerious, btnRated, btnUnrated, btnOpen, btnPassword, btnFormatOathbreaker};
|
btnSkillBeginner, btnSkillCasual, btnSkillSerious, btnRated, btnUnrated, btnOpen, btnPassword, btnFormatOathbreaker, btnFormatPioneer};
|
||||||
|
|
||||||
JComponent[] components = new JComponent[]{chatPanelMain, jSplitPane1, jScrollPaneTablesActive, jScrollPaneTablesFinished, jPanelTop, jPanelTables};
|
JComponent[] components = new JComponent[]{chatPanelMain, jSplitPane1, jScrollPaneTablesActive, jScrollPaneTablesFinished, jPanelTop, jPanelTables};
|
||||||
for (JComponent component : components) {
|
for (JComponent component : components) {
|
||||||
|
@ -968,6 +968,7 @@ public class TablesPanel extends javax.swing.JPanel {
|
||||||
btnFormatBlock = new javax.swing.JToggleButton();
|
btnFormatBlock = new javax.swing.JToggleButton();
|
||||||
btnFormatStandard = new javax.swing.JToggleButton();
|
btnFormatStandard = new javax.swing.JToggleButton();
|
||||||
btnFormatModern = new javax.swing.JToggleButton();
|
btnFormatModern = new javax.swing.JToggleButton();
|
||||||
|
btnFormatPioneer = new javax.swing.JToggleButton();
|
||||||
btnFormatLegacy = new javax.swing.JToggleButton();
|
btnFormatLegacy = new javax.swing.JToggleButton();
|
||||||
btnFormatVintage = new javax.swing.JToggleButton();
|
btnFormatVintage = new javax.swing.JToggleButton();
|
||||||
btnFormatPremodern = new javax.swing.JToggleButton();
|
btnFormatPremodern = new javax.swing.JToggleButton();
|
||||||
|
@ -1259,6 +1260,20 @@ public class TablesPanel extends javax.swing.JPanel {
|
||||||
});
|
});
|
||||||
filterBar2.add(btnFormatModern);
|
filterBar2.add(btnFormatModern);
|
||||||
|
|
||||||
|
btnFormatPioneer.setSelected(true);
|
||||||
|
btnFormatPioneer.setText("Pioneer");
|
||||||
|
btnFormatPioneer.setToolTipText("Pioneer format.");
|
||||||
|
btnFormatPioneer.setFocusPainted(false);
|
||||||
|
btnFormatPioneer.setFocusable(false);
|
||||||
|
btnFormatPioneer.setRequestFocusEnabled(false);
|
||||||
|
btnFormatPioneer.setVerifyInputWhenFocusTarget(false);
|
||||||
|
btnFormatPioneer.addActionListener(new java.awt.event.ActionListener() {
|
||||||
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
|
btnFilterActionPerformed(evt);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
filterBar2.add(btnFormatPioneer);
|
||||||
|
|
||||||
btnFormatLegacy.setSelected(true);
|
btnFormatLegacy.setSelected(true);
|
||||||
btnFormatLegacy.setText("Legacy");
|
btnFormatLegacy.setText("Legacy");
|
||||||
btnFormatLegacy.setToolTipText("Legacy format.");
|
btnFormatLegacy.setToolTipText("Legacy format.");
|
||||||
|
|
Loading…
Reference in a new issue