Skip to content

Commit

Permalink
Correct style error
Browse files Browse the repository at this point in the history
  • Loading branch information
jwrober committed Mar 31, 2024
1 parent ab627fe commit 23a9564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/citydlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ void city_info::update_labels(struct city *pcity)
pcity->prod[O_FOOD] + pcity->waste[O_FOOD], pcity->surplus[O_FOOD]));
m_food->setToolTip(get_city_dialog_output_text(pcity, O_FOOD));
m_growth->setText(get_city_dialog_growth_value(pcity));
m_growth->setStyleSheet("QLabel { color:white; }");
m_growth->setStyleSheet("QLabel { white-space:pre; }");
}

if (pcity->surplus[O_SHIELD] < 0) {
Expand Down

0 comments on commit 23a9564

Please sign in to comment.