Skip to content

Commit

Permalink
Correct systemName assignement logic
Browse files Browse the repository at this point in the history
  • Loading branch information
bdbcat committed Apr 9, 2020
1 parent a73f2d4 commit 761a201
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ochartShop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2474,6 +2474,8 @@ void shopPanel::OnButtonUpdate( wxCommandEvent& event )
if(bNeedSystemName && !g_systemName.IsEmpty()){
if( doUploadXFPR( false ) != 0){
g_systemName.Clear();
saveShopConfig(); // Record the blank systemName

wxString sn = _("System Name:");
m_staticTextSystemName->SetLabel( sn );
m_staticTextSystemName->Refresh();
Expand Down

0 comments on commit 761a201

Please sign in to comment.