SymbolDB: Blank stripped symbol name fixed

This commit is contained in:
Sepalani
2017-08-16 02:40:24 +01:00
parent 9b79e0ac72
commit 93b5a5369b
9 changed files with 29 additions and 24 deletions

View File

@ -361,7 +361,7 @@ void CCodeView::OnPopupMenu(wxCommandEvent& event)
StrToWxStr(symbol->name));
if (input_symbol.ShowModal() == wxID_OK)
{
symbol->name = WxStrToStr(input_symbol.GetValue());
symbol->Rename(WxStrToStr(input_symbol.GetValue()));
Refresh(); // Redraw to show the renamed symbol
}
Host_NotifyMapLoaded();