MCPcopy Create free account
hub / github.com/echQoQ/RustSL / _on_load_payload_changed

Method _on_load_payload_changed

gui/main_window.py:460–469  ·  view source on GitHub ↗

Handle payload loading method change

(self)

Source from the content-addressed store, hash-verified

458 QMessageBox.information(self, 'Done', f'Successfully generated: {dst_file}')
459
460 def _on_load_payload_changed(self):
461 """Handle payload loading method change"""
462 current_load_mode = self.load_payload_box.currentData()
463 if current_load_mode == 'cmdline':
464 self.payload_address_input.show()
465 # If the input box is empty, set the default value
466 if not self.payload_address_input.text().strip():
467 self.payload_address_input.setText('encrypt.bin')
468 else:
469 self.payload_address_input.hide()

Callers 1

init_uiMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected