Browse Source

small fix

Kevin Trometer 7 years ago
parent
commit
4bc100abfc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ui/view/GUI.java

+ 1 - 1
src/ui/view/GUI.java

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