Commit 2cd6ae9
committed
fix(mainwindow): conditionally raise and activate window only when dialog was visible
- Store dialog visibility state before hiding it
- Add debug logging to track dialog visibility changes
- Only call raise() and activateWindow() when the dialog was previously visible
- Prevent unnecessary window activation when dialog wasn't shown
Log: fix(mainwindow): conditionally raise and activate window only when dialog was visible
Bug: https://pms.uniontech.com/bug-view-355757.html1 parent b84073d commit 2cd6ae9
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
182 | | - | |
183 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
184 | 188 | | |
185 | 189 | | |
0 commit comments