[Libreoffice-commits] core.git: basctl/source

Jan Holesovsky kendy at collabora.com
Fri Oct 11 09:01:34 PDT 2013


 basctl/source/basicide/baside2b.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit be194006496368bfd5bd0d93ac45e729814961f1
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Fri Oct 11 13:59:33 2013 +0200

    Basic: When we warned & stopped the program, don't warn again.
    
    It's extremely annoying to have to dismiss the warning with every keypress ;-)
    
    Change-Id: Ie117085ef25676065aedd0744cf618e1b566688b

diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 4738327..10ee7b4 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -476,7 +476,7 @@ void EditorWindow::Command( const CommandEvent& rCEvt )
 bool EditorWindow::ImpCanModify()
 {
     bool bCanModify = true;
-    if ( StarBASIC::IsRunning() )
+    if ( StarBASIC::IsRunning() && rModulWindow.GetBasicStatus().bIsRunning )
     {
         // If in Trace-mode, abort the trace or refuse input
         // Remove markers in the modules in Notify at Basic::Stoped


More information about the Libreoffice-commits mailing list