summarylogtreecommitdiffstats
path: root/revert_bulk_append.patch
diff options
context:
space:
mode:
Diffstat (limited to 'revert_bulk_append.patch')
-rw-r--r--revert_bulk_append.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/revert_bulk_append.patch b/revert_bulk_append.patch
deleted file mode 100644
index a9ed6058fe51..000000000000
--- a/revert_bulk_append.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -r -u a/FreeFileSync/Source/ui/command_box.cpp b/FreeFileSync/Source/ui/command_box.cpp
---- a/FreeFileSync/Source/ui/command_box.cpp 2019-08-15 19:36:52.000000000 +0200
-+++ b/FreeFileSync/Source/ui/command_box.cpp 2019-08-17 19:08:51.511285343 +0200
-@@ -130,7 +130,8 @@
-
- //this->Clear(); -> NO! emits yet another wxEVT_COMMAND_TEXT_UPDATED!!!
- wxItemContainer::Clear(); //suffices to clear the selection items only!
-- this->Append(items);
-+ for (const wxString& item : items)
-+ this->Append(item);
-
- //this->SetSelection(wxNOT_FOUND); //don't select anything
- ChangeValue(value); //preserve main text!
-diff -r -u a/FreeFileSync/Source/ui/folder_history_box.cpp b/FreeFileSync/Source/ui/folder_history_box.cpp
---- a/FreeFileSync/Source/ui/folder_history_box.cpp 2019-08-15 19:36:52.000000000 +0200
-+++ b/FreeFileSync/Source/ui/folder_history_box.cpp 2019-08-17 19:04:37.023593558 +0200
-@@ -90,7 +90,8 @@
-
- //this->Clear(); -> NO! emits yet another wxEVT_COMMAND_TEXT_UPDATED!!!
- wxItemContainer::Clear(); //suffices to clear the selection items only!
-- this->Append(dirList);
-+ for (const wxString& dir : dirList)
-+ this->Append(dir);
-
- //this->SetSelection(wxNOT_FOUND); //don't select anything
- ChangeValue(folderPathPhrase); //preserve main text!