am getting error while parsing a selected feature to the lineEdit like, QLineEdit.setText(QString): argument 1 has unexpected type 'long'
layer = self.iface.activeLayer()
h = layer.selectedFeatures()
for f in h:
g = f['ID']
self.dlg.lineEdit.setText(g)