From 1799b8a7aff944699b8bb2d0a822049bb5cefc6f Mon Sep 17 00:00:00 2001 From: SomberNight Date: Fri, 17 Nov 2017 01:54:48 +0100 Subject: [PATCH] disallow editing labels in Coins tab (QT) --- gui/qt/utxo_list.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gui/qt/utxo_list.py b/gui/qt/utxo_list.py index 63f6f6f9..40f9fa20 100644 --- 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