@Override
public void actionPerformed(ActionEvent e) {
if (selectedColumn == null) return;
PlaylistColumn column = columns.get(selectedColumn.getModelIndex());
ColumnDialog dialog = new ColumnDialog(getParentFrame(), "Edit Column", column);
if (dialog.showDialog()) {
selectedColumn.setHeaderValue(column.getName());
update();
}
}
});