Wed, 04 Oct 2023 17:50:59 +0200
Fixed in issue with several editable combo box selectors, that the value could not be changed if the edited text differed by case only. This was caused by the standard QComboBox completer.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>GitRevisionSelectionDialog</class> <widget class="QDialog" name="GitRevisionSelectionDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>450</width> <height>224</height> </rect> </property> <property name="windowTitle"> <string>Git Revision</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QGroupBox" name="groupBox"> <property name="title"> <string>Revision</string> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="QRadioButton" name="revButton"> <property name="toolTip"> <string>Select to specify a revision by a revision expression</string> </property> <property name="text"> <string>Commit:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QLineEdit" name="revEdit"> <property name="enabled"> <bool>false</bool> </property> <property name="toolTip"> <string>Enter a commit id</string> </property> </widget> </item> <item row="1" column="0"> <widget class="QRadioButton" name="tagButton"> <property name="toolTip"> <string>Select to specify a revision by a tag</string> </property> <property name="text"> <string>Tag:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QComboBox" name="tagCombo"> <property name="enabled"> <bool>false</bool> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Enter a tag name</string> </property> <property name="editable"> <bool>true</bool> </property> </widget> </item> <item row="2" column="0"> <widget class="QRadioButton" name="branchButton"> <property name="toolTip"> <string>Select to specify a revision by a branch</string> </property> <property name="text"> <string>Branch:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QComboBox" name="branchCombo"> <property name="enabled"> <bool>false</bool> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Enter a branch name</string> </property> <property name="editable"> <bool>true</bool> </property> </widget> </item> <item row="3" column="0"> <widget class="QRadioButton" name="remoteBranchButton"> <property name="toolTip"> <string>Select to specify a revision by a remote branch</string> </property> <property name="text"> <string>Remote Branch:</string> </property> </widget> </item> <item row="3" column="1"> <widget class="QComboBox" name="remoteBranchCombo"> <property name="enabled"> <bool>false</bool> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Enter a remote branch name</string> </property> <property name="editable"> <bool>true</bool> </property> </widget> </item> <item row="4" column="0" colspan="2"> <widget class="QRadioButton" name="tipButton"> <property name="toolTip"> <string>Select HEAD revision</string> </property> <property name="text"> <string>HEAD</string> </property> </widget> </item> <item row="5" column="0" colspan="2"> <widget class="QRadioButton" name="noneButton"> <property name="text"> <string>No revision selected</string> </property> <property name="checked"> <bool>true</bool> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> <tabstops> <tabstop>revButton</tabstop> <tabstop>revEdit</tabstop> <tabstop>tagButton</tabstop> <tabstop>tagCombo</tabstop> <tabstop>branchButton</tabstop> <tabstop>branchCombo</tabstop> <tabstop>remoteBranchButton</tabstop> <tabstop>remoteBranchCombo</tabstop> <tabstop>tipButton</tabstop> <tabstop>noneButton</tabstop> </tabstops> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>GitRevisionSelectionDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>266</x> <y>214</y> </hint> <hint type="destinationlabel"> <x>157</x> <y>223</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>GitRevisionSelectionDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>334</x> <y>214</y> </hint> <hint type="destinationlabel"> <x>286</x> <y>223</y> </hint> </hints> </connection> <connection> <sender>revButton</sender> <signal>toggled(bool)</signal> <receiver>revEdit</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>60</x> <y>49</y> </hint> <hint type="destinationlabel"> <x>246</x> <y>51</y> </hint> </hints> </connection> <connection> <sender>tagButton</sender> <signal>toggled(bool)</signal> <receiver>tagCombo</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>88</x> <y>75</y> </hint> <hint type="destinationlabel"> <x>257</x> <y>77</y> </hint> </hints> </connection> <connection> <sender>branchButton</sender> <signal>toggled(bool)</signal> <receiver>branchCombo</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>79</x> <y>101</y> </hint> <hint type="destinationlabel"> <x>242</x> <y>103</y> </hint> </hints> </connection> <connection> <sender>remoteBranchButton</sender> <signal>toggled(bool)</signal> <receiver>remoteBranchCombo</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>83</x> <y>120</y> </hint> <hint type="destinationlabel"> <x>144</x> <y>120</y> </hint> </hints> </connection> </connections> </ui>