Update side directory filter when indexing completes

This commit is contained in:
Jean-Francois Dockes 2022-05-15 08:40:02 +02:00
parent 0250e64b5a
commit 5437c803ae
2 changed files with 21 additions and 20 deletions

View File

@ -166,6 +166,7 @@ void RclMain::periodic100()
} }
string reason; string reason;
maybeOpenDb(reason, 1); maybeOpenDb(reason, 1);
populateSideFilters();
} else { } else {
// update/show status even if the status file did not // update/show status even if the status file did not
// change (else the status line goes blank during // change (else the status line goes blank during

View File

@ -38,15 +38,11 @@
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<widget class="QWidget" name="layoutWidget"> <widget class="QFrame" name="frame">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayoutsidefilt"> <layout class="QVBoxLayout" name="verticalLayoutsidefilt">
<item>
<widget class="Line" name="line3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item> <item>
<widget class="QLabel" name="sideFilterLBL"> <widget class="QLabel" name="sideFilterLBL">
<property name="text"> <property name="text">
@ -90,22 +86,26 @@
</layout> </layout>
</item> </item>
<item> <item>
<widget class="QTreeView" name="idxTreeView"/> <widget class="QTreeView" name="idxTreeView">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="resultsLayoutWidget"> <widget class="QWidget" name="resultsLayoutWidget">
<layout class="QHBoxLayout" name="resultsHLayout"> <layout class="QHBoxLayout" name="resultsHLayout">
<item> <item>
<widget class="ResList" name="reslist" native="true"> <widget class="ResList" name="reslist" native="true">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>2</horstretch> <horstretch>2</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</widget> </widget>
</widget> </widget>
@ -121,7 +121,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>800</width> <width>800</width>
<height>20</height> <height>22</height>
</rect> </rect>
</property> </property>
<addaction name="separator"/> <addaction name="separator"/>