Procházet zdrojové kódy

FileManager: Keep the window title in sync with the current path.

Andreas Kling před 6 roky
rodič
revize
1ab995bfff
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      Applications/FileManager/DirectoryTableView.cpp

+ 3 - 0
Applications/FileManager/DirectoryTableView.cpp

@@ -23,6 +23,9 @@ void DirectoryTableView::model_notification(const GModelNotification& notificati
         model().row_count() != 1 ? "s" : "",
         model().bytes_in_files(),
         model().bytes_in_files() != 1 ? "s" : ""));
+
+        if (on_path_change)
+            on_path_change(model().path());
     }
 }