details: Show serial PTY path in UI again

This commit is contained in:
Cole Robinson 2012-07-08 20:57:17 -04:00
parent d01b28c740
commit bb1832248c

View File

@ -3071,7 +3071,7 @@ class vmmDetails(vmmGObjectUI):
def show_ui(param, val=None): def show_ui(param, val=None):
widgetname = "char-" + param.replace("_", "-") widgetname = "char-" + param.replace("_", "-")
labelname = widgetname + "-label" labelname = widgetname + "-label"
doshow = chardev.supports_property(param) doshow = chardev.supports_property(param, ro=True)
# Exception: don't show target type for serial/parallel # Exception: don't show target type for serial/parallel
if (param == "target_type" and not show_target_type): if (param == "target_type" and not show_target_type):