This may no longer be one of those since we can scroll the tabs on our
config editor git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5825 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
package com.threerings.admin.client;
|
package com.threerings.admin.client;
|
||||||
|
|
||||||
|
import java.awt.Component;
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
|
|
||||||
import javax.swing.JLabel;
|
import javax.swing.JLabel;
|
||||||
@@ -95,10 +96,12 @@ public class ConfigEditorPanel extends JPanel
|
|||||||
// when we're hidden, we want to clear out our subscriptions
|
// when we're hidden, we want to clear out our subscriptions
|
||||||
int ccount = _oeditors.getComponentCount();
|
int ccount = _oeditors.getComponentCount();
|
||||||
for (int ii = 0; ii < ccount; ii++) {
|
for (int ii = 0; ii < ccount; ii++) {
|
||||||
JScrollPane scrolly = (JScrollPane)_oeditors.getComponent(ii);
|
Component comp = _oeditors.getComponent(ii);
|
||||||
ObjectEditorPanel opanel = (ObjectEditorPanel)
|
if (comp instanceof JScrollPane) {
|
||||||
scrolly.getViewport().getView();
|
JScrollPane scrolly = (JScrollPane)comp;
|
||||||
opanel.cleanup();
|
ObjectEditorPanel opanel = (ObjectEditorPanel)scrolly.getViewport().getView();
|
||||||
|
opanel.cleanup();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
_oeditors.removeAll();
|
_oeditors.removeAll();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user