Version: 2.5.10 Update

This commit is contained in:
gh0stkey
2023-12-12 14:19:28 +08:00
parent f1941bccd7
commit 105c506039
3 changed files with 23 additions and 118 deletions

View File

@@ -333,20 +333,6 @@ public class Databoard extends JPanel {
hostTextField.setText(selectedHost);
ChangeListener changeListener = new ChangeListener() {
public void stateChanged(ChangeEvent e) {
JTabbedPane tabSource = (JTabbedPane) e.getSource();
int index = tabSource.getSelectedIndex();
if (index != -1) {
Component selectedComponent = tabSource.getComponentAt(index);
if (selectedComponent instanceof DatatablePanel) {
((DatatablePanel) selectedComponent).updatePageSize();
}
}
}
};
dataTabbedPane.addChangeListener(changeListener);
}
}
}