Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Raptor Engineering Public Development
dsview
Commits
e24b0d44
Commit
e24b0d44
authored
5 years ago
by
DreamSourceLab
Browse files
Options
Download
Email Patches
Plain Diff
Fix crash issue when enable lissajous figure in certain case
parent
f9f0507a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
DSView/pv/dialogs/lissajousoptions.cpp
DSView/pv/dialogs/lissajousoptions.cpp
+1
-1
No files found.
DSView/pv/dialogs/lissajousoptions.cpp
View file @
e24b0d44
...
...
@@ -57,7 +57,7 @@ LissajousOptions::LissajousOptions(SigSession &session, QWidget *parent) :
_percent
->
setRange
(
100
,
100
);
_percent
->
setEnabled
(
false
);
if
(
_session
.
cur_samplelimits
()
>
WellLen
)
{
int
min
=
WellLen
*
100.0
/
_session
.
cur_samplelimits
();
int
min
=
ceil
(
WellLen
*
100.0
/
_session
.
cur_samplelimits
()
)
;
_percent
->
setEnabled
(
true
);
_percent
->
setRange
(
min
,
100
);
_percent
->
setValue
(
min
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
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