| 2706 | } |
| 2707 | |
| 2708 | std::string IGFD::FileManager::GetResultingPath() { |
| 2709 | if (dLGDirectoryMode && m_SelectedFileNames.size() == 1) { // if directory mode with selection 1 |
| 2710 | std::string selectedDirectory = fileNameBuffer; |
| 2711 | std::string path = m_CurrentPath; |
| 2712 | if (!selectedDirectory.empty() && selectedDirectory != ".") { |
| 2713 | path += IGFD::Utils::GetPathSeparator() + selectedDirectory; |
| 2714 | } |
| 2715 | return path; |
| 2716 | } |
| 2717 | return m_CurrentPath; // if file mode |
| 2718 | } |
| 2719 | |
| 2720 | std::string IGFD::FileManager::GetResultingFileName(FileDialogInternal& vFileDialogInternal, IGFD_ResultMode vFlag) { |
| 2721 | if (!dLGDirectoryMode) { // if not directory mode |
no test coverage detected