[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdewebdev/kommander/editor
From: Andras Mantia <amantia () kde ! org>
Date: 2008-01-28 17:39:29
Message-ID: 1201541969.472665.10734.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 767745 by amantia:
Save the editor text prior to run.
M +11 -0 mainwindow.cpp
--- branches/KDE/3.5/kdewebdev/kommander/editor/mainwindow.cpp #767744:767745
@@ -379,6 +379,17 @@
if (!form || !form->formFile())
return;
+ QObjectList *editors = queryList("AssocTextEditor");
+ QObjectListIt it(*editors);
+ QObject *editor;
+
+ while ((editor = it.current()) != 0L)
+ {
+ ++it;
+ static_cast<AssocTextEditor*>(editor)->save();
+ }
+ delete editors;
+
if (form->formFile()->hasTempFileName())
{
if (!form->formFile()->saveAs())
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic