[Pkg-octave-devel] Bug#593447: Bug#593447: qtoctave: editor fails to run Octave scripts containing a '-'
Jordi Gutiérrez Hermoso
jordigh at gmail.com
Wed Aug 18 13:38:38 UTC 2010
On 18 August 2010 05:00, Jan Beyer <jan at beathovn.de> wrote:
> When opening an Octave script file with a '-' in its file name in the
> QtOctave editor, this file cannot be run (e.g. via menu Run / "Run
> (F5)"). Run / "Send to Octave (F9)" works, however.
Thanks for this report. I see that the problem is in
qtoctave/editor.cpp around line 335 where it says
octave_connection->command_enter(finfo.baseName());
which should probably be
octave_connection->command_enter(QString("source ") + finfo.fileName()) );
I'll consult with upstream that this is the right fix.
More information about the Pkg-octave-devel
mailing list