| 2768 | } |
| 2769 | |
| 2770 | std::string IGFD::FileManager::GetResultingPath() { |
| 2771 | if (dLGDirectoryMode && m_SelectedFileNames.size() == 1) { // if directory mode with selection 1 |
| 2772 | std::string selectedDirectory = fileNameBuffer; |
| 2773 | std::string path = m_CurrentPath; |
| 2774 | if (!selectedDirectory.empty() && selectedDirectory != ".") { |
| 2775 | path += IGFD::Utils::GetPathSeparator() + selectedDirectory; |
| 2776 | } |
| 2777 | return path; |
| 2778 | } |
| 2779 | return m_CurrentPath; // if file mode |
| 2780 | } |
| 2781 | |
| 2782 | std::string IGFD::FileManager::GetResultingFileName(FileDialogInternal& vFileDialogInternal, IGFD_ResultMode vFlag) { |
| 2783 | if (!dLGDirectoryMode) { // if not directory mode |
no test coverage detected