summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2013-10-11 13:59:33 +0200
committerJan Holesovsky <kendy@collabora.com>2013-10-11 16:58:54 +0200
commitbe194006496368bfd5bd0d93ac45e729814961f1 (patch)
treee192c7e19f4b58ccca6b264a63bda9e10cc2d306 /basctl
parent52e07f1fd2ba3d1cf25ec8fe8c1892398c7cd364 (diff)
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
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2b.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 473832792997..10ee7b41cb9f 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