| 128 | } |
| 129 | |
| 130 | void RemotePcExploreLayout::OnPathSelected() { |
| 131 | const auto idx = this->paths_menu->GetSelectedIndex() - 1; // Account for "Select File" item |
| 132 | g_MainApplication->LoadMenuData(true, cfg::Strings.GetString(299), GetCommonIcon(CommonIconKind::Drive), cfg::Strings.GetString(401)); |
| 133 | g_MainApplication->GetBrowserLayout()->ChangePartitionRemotePcDrive(this->paths[idx]); |
| 134 | g_MainApplication->ShowLayout(g_MainApplication->GetBrowserLayout()); |
| 135 | } |
| 136 | |
| 137 | void RemotePcExploreLayout::OnSelectFileSelected() { |
| 138 | std::string selected_file; |
nothing calls this directly
no test coverage detected