mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-15 20:11:53 +00:00
Fixed Proper disabling switching items or other actions on editation
This commit is contained in:
@@ -157,6 +157,9 @@ public class PinsPanel extends JPanel {
|
||||
pinButton.addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
if (mainPanel.checkEdited()) {
|
||||
return;
|
||||
}
|
||||
current = pinButton.getItem();
|
||||
if (lastSelectedButton != null) {
|
||||
lastSelectedButton.setSelected(false);
|
||||
|
||||
Reference in New Issue
Block a user