From cca78466954ce01d15fe4d21cbb25657264bc2db Mon Sep 17 00:00:00 2001 From: Eamonn Rea Date: Tue, 3 Sep 2024 19:35:28 +0100 Subject: [PATCH] pupgui2: Display install location combobox text in tooltip (#451) --- pupgui2/pupgui2.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pupgui2/pupgui2.py b/pupgui2/pupgui2.py index 28eda2cc..c46ed78e 100644 --- a/pupgui2/pupgui2.py +++ b/pupgui2/pupgui2.py @@ -296,6 +296,10 @@ def update_ui(self): self.ui.txtUnusedVersions.setText(self.tr('Unused: {unused_ctools}').format(unused_ctools=unused_ctools) if unused_ctools > 0 else '') self.ui.txtInstalledVersions.setText(f'{len(self.compat_tool_index_map)}') + combo_install_location_val: str = self.ui.comboInstallLocation.currentText() + if len(combo_install_location_val) > 0: + self.ui.comboInstallLocation.setToolTip(combo_install_location_val) + def get_installed_versions(self, ctool_name, ctool_dir): for ct in get_installed_ctools(ctool_dir): if ctool_name not in ct.get_displayname().lower():