Skip to content

Commit ea385d6

Browse files
committed
release dir after loading list
1 parent f798ff2 commit ea385d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/MultiReplacePanel.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9089,6 +9089,7 @@ bool MultiReplace::isValidUtf8(const std::string& data) {
90899089
#pragma region FileOperations
90909090

90919091
std::wstring MultiReplace::openFileDialog(bool saveFile, const std::vector<std::pair<std::wstring, std::wstring>>& filters, const WCHAR* title, DWORD flags, const std::wstring& fileExtension, const std::wstring& defaultFilePath) {
9092+
flags |= OFN_NOCHANGEDIR;
90929093
OPENFILENAME ofn = { 0 };
90939094
WCHAR szFile[MAX_PATH] = { 0 };
90949095

0 commit comments

Comments
 (0)