(index)
| 1263 | ) |
| 1264 | |
| 1265 | def on_page_changed(index): |
| 1266 | if index == 6: # update_employee_page2 is at index 6 |
| 1267 | populate_employee_data() |
| 1268 | |
| 1269 | # Connect the currentChanged signal to the on_page_changed function |
| 1270 | stacked_widget.currentChanged.connect(on_page_changed) |
nothing calls this directly
no test coverage detected