Bug 111278 - quanta leaves the html file empty
Summary: quanta leaves the html file empty
Status: RESOLVED FIXED
Alias: None
Product: quanta
Classification: Miscellaneous
Component: VPL (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: Paulo Moura Guedes
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-22 15:15 UTC by Thorsten Staerk
Modified: 2005-09-14 14:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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,