Apply colour scheme to secondary (MBR logical) partitions
BUG: 418648
This commit is contained in:
parent
e0906e3e26
commit
02e4359889
|
@ -43,6 +43,9 @@ void PartTableWidget::setPartitionTable(const PartitionTable* ptable)
|
||||||
PartWidget* w = new PartWidget(this, p);
|
PartWidget* w = new PartWidget(this, p);
|
||||||
w->setVisible(true);
|
w->setVisible(true);
|
||||||
w->setFileSystemColorCode(GuiHelpers::fileSystemColorCodesFromSettings());
|
w->setFileSystemColorCode(GuiHelpers::fileSystemColorCodesFromSettings());
|
||||||
|
const auto children = w->childWidgets();
|
||||||
|
for (const auto &child : children)
|
||||||
|
child->setFileSystemColorCode(GuiHelpers::fileSystemColorCodesFromSettings());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue