Commit 1d37504
Milkii Brewster
Fix MIDI learning wizard not appearing when opened from prefs button
DlgControllerLearning is parented to DlgPrefController, which is a child
of DlgPreferences. Previously, mappingStarted() was emitted after show(),
causing DlgPreferences::hide() to cascade-hide the wizard immediately.
Emit mappingStarted() before creating and showing the wizard so the prefs
dialog is already hidden when the wizard appears.1 parent eddcde5 commit 1d37504
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
401 | 406 | | |
402 | 407 | | |
403 | 408 | | |
| |||
422 | 427 | | |
423 | 428 | | |
424 | 429 | | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | 430 | | |
430 | 431 | | |
431 | 432 | | |
| |||
0 commit comments