mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-21 06:05:34 -06:00
Ide: MacroManager fix issue raised by translation synchronisation.
git-svn-id: svn://ultimatepp.org/upp/trunk@15263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
009c12e754
commit
b2f27de0ef
1 changed files with 2 additions and 1 deletions
|
|
@ -255,8 +255,9 @@ void MacroManagerWindow::OnNewMacroFile()
|
|||
void MacroManagerWindow::OnDeleteMacroFile()
|
||||
{
|
||||
auto fileName = static_cast<String>(globalTree.GetValue());
|
||||
if(!PromptOKCancel(t_("Are you sure you want to remove following macro file \"" + fileName + "\"?")))
|
||||
if(!PromptOKCancel(String(t_("Are you sure you want to remove following macro file")) << " \"" << fileName << "\"?")) {
|
||||
return;
|
||||
}
|
||||
|
||||
FileDelete(AppendFileName(GetLocalDir(), fileName));
|
||||
globalTree.Remove(globalTree.GetCursor());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue