Apply colour scheme to secondary (MBR logical) partitions

BUG: 418648
This commit is contained in:
Andrius Štikonas 2020-10-05 18:24:31 +01:00
parent e0906e3e26
commit 02e4359889
1 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,9 @@ void PartTableWidget::setPartitionTable(const PartitionTable* ptable)
PartWidget* w = new PartWidget(this, p);
w->setVisible(true);
w->setFileSystemColorCode(GuiHelpers::fileSystemColorCodesFromSettings());
const auto children = w->childWidgets();
for (const auto &child : children)
child->setFileSystemColorCode(GuiHelpers::fileSystemColorCodesFromSettings());
}
}