UI: ProgramEditDialog: Hide icon for wildcard

This commit is contained in:
Nodir Temirkhodjaev 2024-01-29 15:18:52 +03:00
parent d8a672b89b
commit 6c15f4fae8

View File

@ -131,8 +131,9 @@ void ProgramEditDialog::initializeNameField(bool isSingleSelection, bool isPathE
m_editNotes->setText(m_appRow.notes);
m_editNotes->setEnabled(isSingleSelection);
m_labelEditNotes->setPixmap(
isSingleSelection ? IoC<AppInfoCache>()->appIcon(m_appRow.appPath) : QPixmap());
m_labelEditNotes->setPixmap(isSingleSelection && !isPathEditable
? IoC<AppInfoCache>()->appIcon(m_appRow.appPath)
: QPixmap());
if (isSingleSelection) {
if (m_appRow.appName.isEmpty()) {