From 533f494f46d65be366aee3e9973b674320e46bc8 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Thu, 10 May 2012 20:03:35 -0500 Subject: [PATCH] Fix knotes not appearing on the desktop when a session is restored. Thanks to Slavek Banko. This resolves bug report 987. --- knotes/knote.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knotes/knote.cpp b/knotes/knote.cpp index 182aee86..08c24b8e 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(); }