diff options
| author | Eugene Popov <[email protected]> | 2021-09-13 18:34:40 +0300 |
|---|---|---|
| committer | Eugene Popov <[email protected]> | 2021-11-13 18:20:59 +0200 |
| commit | 1657216474020b9b345409f423d75ee34156e1d3 (patch) | |
| tree | edd78b5ca93e62fd847d235e3d65b1cfd189ea96 /src/dolphinmainwindow.cpp | |
| parent | 4b4f9880785cef91fc97fa94c7ad82a1f95e35e5 (diff) | |
Fix updating window and tab titles
This MR fixes an issue where the window and tab titles don't properly handle creating/deleting/renaming items in the places bar, as well as switching to the Search mode.
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index bb05fef08..cdbeba172 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -2134,6 +2134,8 @@ void DolphinMainWindow::connectViewSignals(DolphinViewContainer* container) this, &DolphinMainWindow::slotWriteStateChanged); connect(container, &DolphinViewContainer::searchModeEnabledChanged, this, &DolphinMainWindow::updateSearchAction); + connect(container, &DolphinViewContainer::captionChanged, + this, &DolphinMainWindow::updateWindowTitle); const QAction* toggleSearchAction = actionCollection()->action(QStringLiteral("toggle_search")); connect(toggleSearchAction, &QAction::triggered, container, &DolphinViewContainer::setSearchModeEnabled); |
