From 021a306d360da13a927d1c1d5811a205b09319b8 Mon Sep 17 00:00:00 2001 From: smbaker Date: Mon, 3 Oct 2011 18:51:00 -0700 Subject: [PATCH] fix problem with adding networks to RSpecs (QString was not automatically type converted) --- sface/screens/mainscreen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sface/screens/mainscreen.py b/sface/screens/mainscreen.py index c2a2118..22c321f 100644 --- a/sface/screens/mainscreen.py +++ b/sface/screens/mainscreen.py @@ -410,10 +410,10 @@ class SliceWidget(QWidget): def itemStatus(self, item): statusItem = item.parent().child(item.row(), MEMBERSHIP_STATUS_COLUMN) - return statusItem.data(Qt.DisplayRole).toString() + return str(statusItem.data(Qt.DisplayRole).toString()) def itemText(self, item): - return item.data(Qt.DisplayRole).toString() + return str(item.data(Qt.DisplayRole).toString()) # Recursively walk the tree, making changes to the RSpec def process_subtree(self, rspec, resources, item, depth = 0): -- 2.43.0