(self)
Module Clicked updates imports/exports/symbols
Module Clicked updates imports/exports/symbols
Module Clicked updates imports / exports / symbols
def _module_clicked(self):
        """ Module Clicked updates imports/exports/symbols
        """
        if not self.modules_list.hasFocus():
            return

        module_index = self.modules_list.selectionModel().currentIndex().row()
        module_name = self.modules_model.item(module_index, 0)
        if module_name is None:
            return

        module_name = module_name.text()
        module_address = self.modules_model.item(module_index, 1).text()

        module_info = self._app_window.dwarf.database.get_module_info(module_address)
        if module_info is not None:
            if not module_info.have_details:
                module_info = ModuleInfo.build_module_info(self._app_window.dwarf, module_name, fill_ied=True)
        else:
            module_info = ModuleInfo.build_module_info(self._app_window.dwarf, module_name, fill_ied=True)

        if module_info is not None:
            self.update_module_ui(module_info)

        if not self._sized:
            self.setSizes([100, 100])
            self._sized = True
def _module_clicked ( self ) : if not self . modules_list . hasFocus ( ) : return module_index = self . modules_list . selectionModel ( ) . currentIndex ( ) . row ( ) module_name = self . modules_model . item ( module_index , 0 ) if module_name is None : return module_name = module_name . text ( ) module_address = self . modules_model . item ( module_index , 1 ) . text ( ) module_info = self . _app_window . dwarf . database . get_module_info ( module_address ) if module_info is not None : if not module_info . have_details : module_info = ModuleInfo . build_module_info ( self . _app_window . dwarf , module_name , fill_ied = True ) else : module_info = ModuleInfo . build_module_info ( self . _app_window . dwarf , module_name , fill_ied = True ) if module_info is not None : self . update_module_ui ( module_info ) if not self . _sized : self . setSizes ( [ 100 , 100 ] ) self . _sized = True