fixed a bug where the gui would crash if you tried to load a second

.vmp2 file...
merge-requests/4/head
_xeroxz 3 years ago
parent ac817b1674
commit ca4e7bc7a9

@ -1 +1 @@
Subproject commit a4b3817336939c9d6e3207e87a4f1c7830613056
Subproject commit 0cbc83be3fb0f4293146def0c3735f39608f646b

@ -78,6 +78,9 @@ void qvirt_handlers_t::update_instrs( vm::handler::handler_t &vm_handler )
void qvirt_handlers_t::on_select()
{
if ( ui->virt_handlers_tree->selectedItems().empty() )
return;
auto item = ui->virt_handlers_tree->selectedItems()[ 0 ];
if ( !item )

@ -7,6 +7,9 @@ qvirt_instrs_t::qvirt_instrs_t( qvminspector_t *vminspector ) : vminspector( vmi
void qvirt_instrs_t::on_select()
{
if ( ui->virt_instrs->selectedItems().empty() )
return;
auto item = ui->virt_instrs->selectedItems()[ 0 ];
if ( !item )

Loading…
Cancel
Save