diff options
| author | Wendi Gan <[email protected]> | 2025-09-28 11:46:23 +0800 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2025-10-03 06:49:14 +0000 |
| commit | eeb5251c30c3cbcdff5db59b250286eae30792fb (patch) | |
| tree | 8c78d18a145f2220330091204a7eebda07086821 /src/views/dolphinremoteencoding.h | |
| parent | d0f8985b4c5c790781be6fcd06d299f087e78756 (diff) | |
DolphinViewContainer, DolphinView: Fix incorrect view activation when renaming folder
Issue:
In a split-view tab, if a folder is opened in the left view and its parent folder is opened in the right view, renaming the folder from the right view activates the left view.
Reason:
When renaming the folder, the emitted `DolphinView::urlChanged` will invoke `KUrlNavigator::setLocationUrl()`, which finally calls `DolphinViewContainer::setActive()` and activates the left view.
Change:
- Temporarily disconnect the `DolphinUrlNavigator::activated` signal to avoid activation of `DolphinViewContainer`.
- Force inactivate `DolphinUrlNavigator`.
Diffstat (limited to 'src/views/dolphinremoteencoding.h')
0 files changed, 0 insertions, 0 deletions
