Skip to content
Snippets Groups Projects
Commit 8f4f6856 authored by rswindell's avatar rswindell
Browse files

Don't read node file if NodeForm is not visible.

parent 29d1ae3b
No related branches found
No related tags found
No related merge requests found
......@@ -150,6 +150,9 @@ void __fastcall TNodeForm::TimerTick(TObject *Sender)
int i,n,rd,digits=1;
node_t node;
if(!Visible)
return;
if(nodedab<1) {
nodedab=_sopen(AnsiString(MainForm->CtrlDirectory+"NODE.DAB").c_str()
,O_RDONLY|O_BINARY|O_CREAT, SH_DENYNONE, S_IREAD|S_IWRITE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment