ソースを参照

Fixed frame exceptions

Thomas Buck 12年前
コミット
fcc77fd06e
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      Cube Control/frame.java

+ 1
- 1
Cube Control/frame.java ファイルの表示

@@ -97,7 +97,7 @@ public class frame extends JFrame implements ListSelectionListener {
97 97
   }
98 98
 
99 99
   public void valueChanged(ListSelectionEvent evt) {
100
-    if (!evt.getValueIsAdjusting()) {
100
+    if ((!evt.getValueIsAdjusting()) && (evt.getSource() != animList) && (evt.getSource() != frameList)) {
101 101
      DefaultListModel model = (DefaultListModel)((JList)evt.getSource()).getModel();
102 102
      int anim = animList.getSelectedIndex();
103 103
      int max;

読み込み中…
キャンセル
保存