|
@@ -394,7 +394,7 @@ public class GUI<E> implements CategoryListener {
|
|
|
|
|
|
if (tabbedPane.getMousePosition() != null) {
|
|
if (tabbedPane.getMousePosition() != null) {
|
|
tabTemp = tabbedPane;
|
|
tabTemp = tabbedPane;
|
|
- } else {
|
|
|
|
|
|
+ } else if (tabbedPane2.getMousePosition() != null) {
|
|
tabTemp = tabbedPane2;
|
|
tabTemp = tabbedPane2;
|
|
}
|
|
}
|
|
model.getSelectedCpsObjects().clear();
|
|
model.getSelectedCpsObjects().clear();
|