Bug 111278

Summary: quanta leaves the html file empty
Product: quanta Reporter: Thorsten Staerk <dev>
Component: VPLAssignee: Paulo Moura Guedes <kde>
Status: RESOLVED FIXED    
Severity: normal CC: amantia
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Thorsten Staerk 2005-08-22 15:15:17 UTC
Version:           3.5.90 (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

Reproduce:
call quanta from the konsole -> file | new -> vpl editor -> ok (no title etc.) -> write "hello world" in the editor -> quit -> save selected -> filename: hello.htm

actual result: hello.htm is created, but empty
expected result: hello.htm is created and contains "hello world"
Comment 1 András Manţia 2005-09-14 14:15:25 UTC
SVN commit 460577 by amantia:

Save the content entered in a new file in the VPL editor.
BUG: 111278

 M  +1 -0      ChangeLog  
 M  +2 -0      src/quantaview.cpp  


--- branches/KDE/3.5/kdewebdev/quanta/ChangeLog #460576:460577
@@ -25,6 +25,7 @@
         - do not autoclose tag starting with <?, like <?xml
         - create empty description files for scripts that don't have one
         - fix loading order of the project view files
+        - save the content entered in a new file in the VPL editor [#111278]
 
  - improvements:
         - md5sum based file changed detection
--- branches/KDE/3.5/kdewebdev/quanta/src/quantaview.cpp #460576:460577
@@ -1074,6 +1074,8 @@
 
   if (m_document->isModified() )
   {
+    if (m_currentFocus == VPLFocus)
+      reloadSourceView();
     int want_save;
     if (ask)
       want_save = KMessageBox::warningYesNoCancel(this,