NK-79 - Rename File & Folder

This commit is contained in:
emerycp
2023-07-27 20:45:00 -04:00
parent 8308c1a7e6
commit 93cd449814

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);
}