Skip to content

Commit d672263

Browse files
committed
Don't clear graph when changing interval
1 parent c29c6ee commit d672263

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/qt/trafficgraphwidget.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,7 @@ void TrafficGraphWidget::setGraphRangeMins(int mins)
248248
int msecsPerSample = nMins * 60 * 1000 / DESIRED_SAMPLES;
249249
timer->stop();
250250
timer->setInterval(msecsPerSample);
251-
252-
clear();
251+
timer->start();
253252
}
254253

255254
void TrafficGraphWidget::clear()

0 commit comments

Comments
 (0)