From 097fc893cb2536872baf25adf27d6f485418b116 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Thu, 10 May 2012 20:03:35 -0500 Subject: Fix knotes not appearing on the desktop when a session is restored. Thanks to Slavek Banko. This resolves bug report 987. (cherry picked from commit 533f494f46d65be366aee3e9973b674320e46bc8) --- knotes/knote.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knotes/knote.cpp b/knotes/knote.cpp index 2d177dbff..9f037db4d 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(); } -- cgit v1.2.1