diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-05-10 20:03:35 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-05-10 20:03:35 -0500 |
commit | 533f494f46d65be366aee3e9973b674320e46bc8 (patch) | |
tree | 704dc33c4d631d64118abb07f339cd2edb253fd8 /knotes/knote.cpp | |
parent | 284ef1c282448d811f6c32443da9d920be959018 (diff) | |
download | tdepim-533f494f46d65be366aee3e9973b674320e46bc8.tar.gz tdepim-533f494f46d65be366aee3e9973b674320e46bc8.zip |
Fix knotes not appearing on the desktop when a session is restored.
Thanks to Slavek Banko.
This resolves bug report 987.
Diffstat (limited to 'knotes/knote.cpp')
-rw-r--r-- | knotes/knote.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/knotes/knote.cpp b/knotes/knote.cpp index 182aee863..08c24b8ec 100644 --- a/knotes/knote.cpp +++ b/knotes/knote.cpp @@ -765,7 +765,7 @@ void KNote::slotClose() m_editor->clearFocus(); m_config->setHideNote( true ); m_config->setPosition( pos() ); - m_config->writeConfig(); + // just hide the note so it's still available from the dock window hide(); } |