From kde-commits Fri Jul 23 18:58:00 2010 From: Eike Hein Date: Fri, 23 Jul 2010 18:58:00 +0000 To: kde-commits Subject: extragear/utils/yakuake Message-Id: <20100723185800.8B985AC7AB () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=127991372532667 SVN commit 1153679 by hein: Fix keep above not being applied immediately when toggling keep open outside the config dialog. CCMAIL:prudy1@o2.pl M +6 -0 ChangeLog M +5 -0 app/mainwindow.cpp --- trunk/extragear/utils/yakuake/ChangeLog #1153678:1153679 @@ -1,3 +1,9 @@ +Changes in 2.9.8: +* Fixed a bug causing the "Keep above other windows" preference not to be + respected immediately when toggling the "Keep window open when it loses + focus" preference from the title bar or the main menu. + + Changes in 2.9.7: * Fixed compilation with gcc 4.4 (missing cstdio include). * Fixed quit action bypassing the "Confirm quit when more than one session --- trunk/extragear/utils/yakuake/app/mainwindow.cpp #1153678:1153679 @@ -931,8 +931,13 @@ void MainWindow::setKeepOpen(bool keepOpen) { + if (Settings::keepOpen() != keepOpen) + { Settings::setKeepOpen(keepOpen); + applyWindowProperties(); + } + actionCollection()->action("keep-open")->setChecked(keepOpen); m_titleBar->setFocusButtonState(keepOpen); }