commit 219a5b02a63a9ee227cff1c83516d003736abf4b
parent 18df9e25b8344d90295b7b6322db03916e596432
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 17 Nov 2017 18:34:33 +0100
Merge pull request #3318 from SomberNight/qt_coins_disallow_label_edit
disallow editing labels in Coins tab (QT)
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/gui/qt/utxo_list.py b/gui/qt/utxo_list.py
@@ -69,3 +69,7 @@ class UTXOList(MyTreeWidget):
menu.addAction(_("Details"), lambda: self.parent.show_transaction(tx))
menu.exec_(self.viewport().mapToGlobal(position))
+
+ def on_permit_edit(self, item, column):
+ # disable editing fields in this tab (labels)
+ return False