mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
NK-79 - Rename File & Folder
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user