mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-09 20:08:57 +03:00
Merge pull request #51 from antopilo/feature/NK-79-add-ability-to-rename-folder
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