Non permetteva piu' la gestione delle tabelle indipendentemente dalle risorse

git-svn-id: svn://10.65.10.50/trunk@654 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 1994-11-17 14:47:35 +00:00
parent d7e51227e4
commit 3f37387cd0

View File

@ -1,4 +1,4 @@
// $Id: maskfld.cpp,v 1.49 1994-11-16 15:50:57 guy Exp $ // $Id: maskfld.cpp,v 1.50 1994-11-17 14:47:35 guy Exp $
#include <xvt.h> #include <xvt.h>
#include <applicat.h> #include <applicat.h>
@ -1461,15 +1461,14 @@ KEY TBrowse::run()
if (_insert[0] == 'M') if (_insert[0] == 'M')
path = "ba3 -0"; path = "ba3 -0";
else else
{
path = _insert.mid(1); path = _insert.mid(1);
if (main_app().name() != cmd2name(path)) // Se non lancerei me stesso e ... if (main_app().name() != cmd2name(path)) // Se non lancerei me stesso e ...
{ {
TExternal_app a(path); TExternal_app a(path);
if (a.can_run()) buttons = 1; // ... se c'e' memoria if (a.can_run()) buttons = 1; // ... se c'e' memoria
} }
} }
}
TBrowse_sheet s(_cursor, _items, caption, _head, buttons, _fld, sib); TBrowse_sheet s(_cursor, _items, caption, _head, buttons, _fld, sib);
k = s.run(); k = s.run();