summaryrefslogtreecommitdiff
path: root/FreeFileSync/Source/ui/command_box.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'FreeFileSync/Source/ui/command_box.cpp')
-rw-r--r--FreeFileSync/Source/ui/command_box.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/FreeFileSync/Source/ui/command_box.cpp b/FreeFileSync/Source/ui/command_box.cpp
index 4c1b177f..c0637b10 100644
--- a/FreeFileSync/Source/ui/command_box.cpp
+++ b/FreeFileSync/Source/ui/command_box.cpp
@@ -112,9 +112,9 @@ void CommandBox::setValueAndUpdateList(const wxString& value)
if (std::find(items.begin(), items.end(), value) == items.end())
{
if (!items.empty() && !value.empty())
- items.insert(items.begin(), { value, getSeparationLine() });
+ items.insert(items.begin(), {value, getSeparationLine()});
else
- items.insert(items.begin(), { value });
+ items.insert(items.begin(), {value});
}
//this->Clear(); -> NO! emits yet another wxEVT_COMMAND_TEXT_UPDATED!!!
bgstack15