forked from Ivasoft/DSView
fix: dso view can't update
This commit is contained in:
@@ -826,13 +826,12 @@ void DsoSignal::paint_mid(QPainter &p, int left, int right, QColor fore, QColor
|
|||||||
(void)fore;
|
(void)fore;
|
||||||
(void)back;
|
(void)back;
|
||||||
|
|
||||||
if (!_show || right >= left){
|
if (!_show || right <= left){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(_data);
|
assert(_data);
|
||||||
assert(_view);
|
assert(_view);
|
||||||
//assert(right >= left);
|
|
||||||
|
|
||||||
if (enabled()) {
|
if (enabled()) {
|
||||||
const int index = get_index();
|
const int index = get_index();
|
||||||
|
|||||||
Reference in New Issue
Block a user