author | mickeyl <mickeyl> | 2004-03-08 17:00:43 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-03-08 17:00:43 (UTC) |
commit | 5c0d3f0db722ad2b81bdab1a2a06d45c198ed975 (patch) (side-by-side diff) | |
tree | 327faa51dd84d8d032c83157b841efc34d847f56 /library | |
parent | bad368ebceecc3dd976e8eb206c773b5df6d11ef (diff) | |
download | opie-5c0d3f0db722ad2b81bdab1a2a06d45c198ed975.zip opie-5c0d3f0db722ad2b81bdab1a2a06d45c198ed975.tar.gz opie-5c0d3f0db722ad2b81bdab1a2a06d45c198ed975.tar.bz2 |
save UI changes to argument list back to .desktop file ;)
-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 @@ -312,8 +312,12 @@ void LnkProperties::done(int ok) 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(); |