Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nmsdk
rdk
Commits
884bb0acf436
Commit
481d8e40
authored
Apr 07, 2021
by
Alexab
Browse files
Gui/bcb: minor update #3
--HG-- branch : MockCompsTest
parent
8cc664bdc9b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
GUI/BCB/USeriesControlUnit.cpp
View file @
884bb0ac
...
...
@@ -435,12 +435,14 @@ void __fastcall TUSeriesControlForm::BitBtn1Click(TObject *Sender)
++
I
;
}
I
=
DelWatchList
.
begin
();
while
(
I
!=
DelWatchList
.
end
())
I
=
DelWatchList
.
end
();
if
(
I
!=
DelWatchList
.
begin
())
do
{
--
I
;
GrSender
->
Del
(
I
->
first
);
++
I
;
}
while
(
I
!=
DelWatchList
.
begin
());
}
else
...
...
@@ -588,7 +590,7 @@ void __fastcall TUSeriesControlForm::Edit4Exit(TObject *Sender)
return
;
}
if
(
index
>
=
WatchList
.
size
())
if
(
WatchList
.
find
(
index
)
=
=
WatchList
.
end
())
return
;
WatchList
[
index
].
YShift
=
yshift
;
...
...
@@ -656,7 +658,8 @@ void __fastcall TUSeriesControlForm::DelPointButtonClick(TObject *Sender)
map
<
int
,
TUWatchInfo
>::
iterator
I
;
I
=
WatchList
.
find
(
StrToInt
(
StringGrid2
->
Cells
[
0
][
StringGrid2
->
Row
]));
int
del_index
=
StrToInt
(
StringGrid2
->
Cells
[
0
][
StringGrid2
->
Row
]);
I
=
WatchList
.
find
(
del_index
);
DelWatchList
[
I
->
first
]
=
I
->
second
;
WatchList
.
erase
(
I
);
UpdateInfo
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment