Added show/hide of "Purging volumes" button depending on a state of "wipe_tower"

This commit is contained in:
YuSanka
2018-04-03 22:07:59 +02:00
parent e5f23bc11d
commit d54425a901
5 changed files with 22 additions and 11 deletions

View File

@@ -137,7 +137,7 @@ void OptionsGroup::append_line(const Line& line) {
// If there's a widget, build it and add the result to the sizer.
if (line.widget != nullptr) {
auto wgt = line.widget(parent());
grid_sizer->Add(wgt, 0, wxEXPAND | wxBOTTOM | wxTOP, wxOSX ? 0 : 5);
grid_sizer->Add(wgt, 0, wxEXPAND | wxBOTTOM | wxTOP, wxOSX ? 0 : 1);
return;
}