Browse Source

Fix renaming files is not case sensitive on Windows platform. Closes #5128.

adaptive-webui-19844
Chocobo1 8 years ago
parent
commit
0939875ca8
  1. 2
      src/gui/properties/propertieswidget.cpp

2
src/gui/properties/propertieswidget.cpp

@ -700,7 +700,7 @@ void PropertiesWidget::renameSelectedFile()
path_items.removeLast(); path_items.removeLast();
path_items << new_name_last; path_items << new_name_last;
QString new_name = path_items.join("/"); QString new_name = path_items.join("/");
if (Utils::Fs::sameFileNames(old_name, new_name)) { if (old_name == new_name) {
qDebug("Name did not change"); qDebug("Name did not change");
return; return;
} }

Loading…
Cancel
Save