]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinmainwindow.cpp
Fix wrong text eliding in some corner cases.
[dolphin.git] / src / dolphinmainwindow.cpp
index 0c48928bf482b5356dd762aa6dc514b8ab7c6ebc..db4ad07657bc6db5de4aeadd16c887587e0cac0a 100644 (file)
@@ -770,7 +770,8 @@ void DolphinMainWindow::togglePanelLockState()
 void DolphinMainWindow::slotPlacesPanelVisibilityChanged(bool visible)
 {
     foreach (DolphinTabPage* tabPage, m_viewTab) {
-        tabPage->setPlacesSelectorVisible(visible);
+        // The Places selector in the location bar should be shown if and only if the Places panel is hidden.
+        tabPage->setPlacesSelectorVisible(!visible);
     }
 }