mirror of
https://github.com/tnodir/fort
synced 2024-11-15 05:18:07 +00:00
UI: ProgramEditDialog: Hide icon for wildcard
This commit is contained in:
parent
d8a672b89b
commit
6c15f4fae8
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user