Skip to content

Commit

Permalink
pupgui2: Display install location combobox text in tooltip (DavidoTek…
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic2kk authored Sep 3, 2024
1 parent bb1a509 commit cca7846
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pupgui2/pupgui2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit cca7846

Please sign in to comment.