commit bfe31f505d5867fb81703c66341091cba50fce68
parent c9e616a0d6db12eb4f456c41aa0668dae39afe8f
Author: ecdsa <ecdsa@github>
Date: Sun, 3 Mar 2013 20:17:30 +0100
fix
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gui/gui_classic.py b/gui/gui_classic.py
@@ -529,10 +529,9 @@ class ElectrumWindow(QMainWindow):
def edit_label(self, is_recv):
l = self.receive_list if is_recv else self.contacts_list
- c = 2 if is_recv else 1
item = l.currentItem()
item.setFlags(Qt.ItemIsEditable|Qt.ItemIsSelectable | Qt.ItemIsUserCheckable | Qt.ItemIsEnabled | Qt.ItemIsDragEnabled)
- l.editItem( item, c )
+ l.editItem( item, 1 )
item.setFlags(Qt.ItemIsSelectable | Qt.ItemIsUserCheckable | Qt.ItemIsEnabled | Qt.ItemIsDragEnabled)