Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
thanks but where is this placed in the code? Currently, it updates the input dataset in place, I want to be able to have the choice of either updating the input data or updating a copy of it in memory and then saving that data output.
Maybe this should be a new question but the code to run when OK is pressed is in the py file that's created by the plugin (not the xxx_dialog.py but xxx.py). But in that in the def run(self): doesn't recognise the values from the xxx_dialog.py file. So I get errors like field_name = self.mMapLayerCB.currentField() AttributeError: 'Search_Update' object has no attribute 'mMapLayerCB'