Merge pull request #51 from antopilo/feature/NK-79-add-ability-to-rename-folder

NK-79 - Rename File & Folder
This commit is contained in:
émeryc
2023-07-27 21:35:43 -04:00
committed by GitHub

View File

@@ -45,7 +45,7 @@ bool PopupHelper::DefineTextDialog(const std::string& id, std::string& currentTe
char buffer[256];
memset(buffer, 0, sizeof(buffer));
std::strncpy(buffer, currentText.c_str(), sizeof(buffer));
if (ImGui::InputText("", buffer, sizeof(buffer)))
if (ImGui::InputText("##label", buffer, sizeof(buffer)))
{
currentText = std::string(buffer);
}