create: show correctly the list of supported OS

Do not show only the OS supported stable when stable_defaults is not
used.  commit dc0b9bbaaf introduced this
issue.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2014-01-23 16:58:51 +01:00
parent 35f6567c69
commit f2dbae6118

View File

@ -879,7 +879,7 @@ class vmmCreate(vmmGObjectUI):
self._add_os_row(model, None, _("Generic"), True)
return
filtervars = (not self._stable_defaults() and
filtervars = (self._stable_defaults() and
STABLE_OS_SUPPORT or
None)
preferred = self.config.preferred_distros