-rw-r--r-- | library/lnkproperties.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/lnkproperties.cpp b/library/lnkproperties.cpp index 865f590..f0f0bba 100644 --- a/library/lnkproperties.cpp +++ b/library/lnkproperties.cpp @@ -304,24 +304,28 @@ void LnkProperties::done(int ok) for(; rot<4; rot++) { if (d->rotateButtons->find(rot)->isOn()) break; } newrot = QString::number((rot*90)%360); } if ( newrot != lnk->rotation() ) { lnk-> setRotation(newrot); changed = TRUE; reloadMime = TRUE; } } + if ( d->arguments->text() != lnk->property( "Arguments" ) ) { + lnk->setProperty( "Arguments", d->arguments->text() ); + changed = TRUE; + } if ( d->preload->isHidden() && d->locationCombo->currentItem() != currentLocation ) { moveLnk(); } else if ( changed ) { lnk->writeLink(); } if ( !d->preload->isHidden() ) { Config cfg("Launcher"); cfg.setGroup("Preload"); QStringList apps = cfg.readListEntry("Apps",','); QString exe = lnk->exec(); if ( apps.contains(exe) != d->preload->isChecked() ) { |