Time prefs: Disable remove button if list empty

This commit is contained in:
John Scipione 2014-03-31 18:46:12 -04:00
parent 18027fff34
commit 62b45ce190

View File

@ -506,6 +506,8 @@ NetworkTimeView::_UpdateServerList()
fServerListView->Select(fSettings.GetDefaultServer());
fServerListView->ScrollToSelection();
fRemoveButton->SetEnabled(fServerListView->CountItems() > 0);
}