def partitioningReset_activate_cb(self, action): """Callback executed when the user clicks on the reset button. It starts the dedicated controller.""" if self.getCurrentProject() is None: NetzobErrorMessage(_("No project selected.")) return layers = self.view.getCheckedLayerList() if layers == []: NetzobErrorMessage(_("No symbol selected.")) return reset_controller = ResetPartitioningController(self, layers) reset_controller.run()
def resetPartitionment_cb(self, action): reset_controller = ResetPartitioningController(self.vocabularyController, [self.layers[0]]) reset_controller.run()
def resetPartitionment_cb(self, action): reset_controller = ResetPartitioningController( self.vocabularyController, [self.layers[0]]) reset_controller.run()