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

New commits:
commit be194006496368bfd5bd0d93ac45e729814961f1
Author: Jan Holesovsky <ke...@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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to