Skip to content

Commit

Permalink
Fix "Energy" filed label.
Browse files Browse the repository at this point in the history
  • Loading branch information
wcjohns committed Aug 10, 2024
1 parent ad0f77e commit 2aa4da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GammaXsGui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ GammaXsGui::GammaXsGui( MaterialDB *materialDB,
m_energyEdit->blurred().connect( this, &GammaXsGui::calculateCrossSections );

int row = 0;
WLabel *label = new WLabel( WString::tr("{1}:").arg( WString::tr("Energy")) );
WLabel *label = new WLabel( WString("{1}:").arg( WString::tr("Energy")) );
m_layout->addWidget( label, row, 0, 1, 1, AlignLeft );
m_layout->addWidget( m_energyEdit, row, 1, 1, 1 );
label = new WLabel( "keV" );
Expand Down

0 comments on commit 2aa4da8

Please sign in to comment.