|
|
@ -576,7 +576,7 @@ void Knowit::applyOptions(const KnowitOptions& O, bool store)
|
|
|
|
Layout->setOrientation(O.horizontalSplit ? Qt::Horizontal :
|
|
|
|
Layout->setOrientation(O.horizontalSplit ? Qt::Horizontal :
|
|
|
|
Qt::Vertical);
|
|
|
|
Qt::Vertical);
|
|
|
|
Items->setAlternateBackground(O.alternateTree ? TQColor(O.alternateColor) : TQColor());
|
|
|
|
Items->setAlternateBackground(O.alternateTree ? TQColor(O.alternateColor) : TQColor());
|
|
|
|
Items->tqrepaintContents();
|
|
|
|
Items->repaintContents();
|
|
|
|
if (Items->currentItem())
|
|
|
|
if (Items->currentItem())
|
|
|
|
slotItemChanged(Items->currentItem());
|
|
|
|
slotItemChanged(Items->currentItem());
|
|
|
|
slotNoteChanged(Items->currentItem());
|
|
|
|
slotNoteChanged(Items->currentItem());
|
|
|
@ -825,7 +825,7 @@ void Knowit::slotNoteSort()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (Items->currentItem()) {
|
|
|
|
if (Items->currentItem()) {
|
|
|
|
Items->currentItem()->sortChildItems(0, true);
|
|
|
|
Items->currentItem()->sortChildItems(0, true);
|
|
|
|
Items->tqrepaintContents();
|
|
|
|
Items->repaintContents();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|