Commit c430af7
committed
fix(ui): dialog default focus and IP display update
1. Default button focus:
- Set focus to 'Switch' button (ipSwitchConfirmButton->setFocus())
- Confirm button appears highlighted by default
- Cancel button remains in default (gray) state
- Pressing Enter will trigger the confirm action
2. IP display update after switch:
- Call setIp(newIp) in confirm button handler
- Updates ipValueLabel text to show new IP
- Updates ipComboBox selection to match
- Fixes issue where displayed IP didn't change after confirmation1 parent 8b42780 commit c430af7
1 file changed
Lines changed: 3 additions & 1 deletion
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
645 | | - | |
| 645 | + | |
646 | 646 | | |
647 | 647 | | |
648 | 648 | | |
| |||
651 | 651 | | |
652 | 652 | | |
653 | 653 | | |
| 654 | + | |
| 655 | + | |
654 | 656 | | |
655 | 657 | | |
656 | 658 | | |
| |||
0 commit comments