Skip to content

Commit d861b4e

Browse files
committed
fix: check boxes not correctly disabled in dlgImport
1 parent c853f91 commit d861b4e

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

dlgImport.ui

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,38 @@
262262
</hint>
263263
</hints>
264264
</connection>
265+
<connection>
266+
<sender>radioOnline</sender>
267+
<signal>toggled(bool)</signal>
268+
<receiver>chkBox_full4</receiver>
269+
<slot>setEnabled(bool)</slot>
270+
<hints>
271+
<hint type="sourcelabel">
272+
<x>132</x>
273+
<y>158</y>
274+
</hint>
275+
<hint type="destinationlabel">
276+
<x>96</x>
277+
<y>237</y>
278+
</hint>
279+
</hints>
280+
</connection>
281+
<connection>
282+
<sender>radioOnline</sender>
283+
<signal>toggled(bool)</signal>
284+
<receiver>chkBox_full6</receiver>
285+
<slot>setEnabled(bool)</slot>
286+
<hints>
287+
<hint type="sourcelabel">
288+
<x>132</x>
289+
<y>158</y>
290+
</hint>
291+
<hint type="destinationlabel">
292+
<x>198</x>
293+
<y>237</y>
294+
</hint>
295+
</hints>
296+
</connection>
265297
<connection>
266298
<sender>radioSingleIP</sender>
267299
<signal>toggled(bool)</signal>

ui_dlgImport.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ def setupUi(self, Dialog):
146146
self.radioOnline.toggled.connect(self.chkBox_off4.setEnabled)
147147
self.radioOnline.toggled.connect(self.chkBox_ext4.setEnabled)
148148
self.radioOnline.toggled.connect(self.chkBox_ext6.setEnabled)
149+
self.radioOnline.toggled.connect(self.chkBox_full4.setEnabled)
150+
self.radioOnline.toggled.connect(self.chkBox_full6.setEnabled)
149151
self.radioSingleIP.toggled.connect(self.singleIPEdit.setEnabled)
150152
self.radioCustomURL.toggled.connect(self.customURLEdit.setEnabled)
151153

0 commit comments

Comments
 (0)