From kde-commits Tue Jan 09 20:46:18 2007 From: Andras Mantia Date: Tue, 09 Jan 2007 20:46:18 +0000 To: kde-commits Subject: branches/KDE/3.5/kdewebdev/quanta Message-Id: <1168375578.851620.7875.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=116837599414762 SVN commit 621820 by amantia: Allow closing of an untitle editor tab when an image is previewed inside. BUG: 134534 M +1 -0 ChangeLog M +3 -0 src/viewmanager.cpp --- branches/KDE/3.5/kdewebdev/quanta/ChangeLog #621819:621820 @@ -9,6 +9,7 @@ - don't lose upload profile settings in certain cases - fix symlink handling in Project Rescan, New Project adding files/folders [#138107] - do not set the current project mark to a project that could not be opened [#137186] + - allow closing of an untitle editor tab when an image is previewed inside [#134534] Version 3.5.5 (Release date: 11-10-2006; Started 01-09-2006): - bugfixes: --- branches/KDE/3.5/kdewebdev/quanta/src/viewmanager.cpp #621819:621820 @@ -164,7 +164,10 @@ } delete it; if (noOfViews == 1 && view->document()->isUntitled() && !view->document()->isModified() && createNew) + { + quantaApp->slotShowPreviewWidget(false); return true; + } bool mayRemove = view->mayRemove(); if (mayRemove) {