def display_version(self):
        if self['status'] == 'will-be-removed':
            return ''
        else:
            return self.get('version_to_install', '')
Resets all widgets of this dialog to its inital state.
dataset/ETHPy150Open munki/munki/code/apps/Managed Software Center/Managed Software Center/MunkiItems.py/GenericItem.display_version--crossover with--dataset/ETHPy150Open datalyze-solutions/pandas-qt/pandasqt/views/CSVDialogs.py/CSVExportDialog._resetWidgets