Created
August 14, 2025 16:47
-
-
Save zacdezgeo/7cf95892fa4cd8e4f57ba687b90aabdb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def update_band_dropdowns(self): | |
| band_selection_items = ( | |
| get_available_bands(self.image_collection_id.text().strip(), silent=True) | |
| or [] | |
| ) | |
| for i in range(3): | |
| band_dropdown = self.findChild(QComboBox, f"viz_band_{i}") | |
| current = band_dropdown.currentText() | |
| band_dropdown.clear() | |
| band_dropdown.addItems(band_selection_items) | |
| band_dropdown.setCurrentText(current) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment