mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-14 01:03:01 -07:00
initialize graph cursors to avoid crashing (issue 21)
This commit is contained in:
parent
36f0588054
commit
cee48e2b44
1 changed files with 2 additions and 0 deletions
|
@ -288,6 +288,8 @@ ProxWidget::ProxWidget(QWidget *parent) : QWidget(parent), GraphStart(0), GraphP
|
||||||
palette.setColor(QPalette::Button, QColor(100, 100, 100));
|
palette.setColor(QPalette::Button, QColor(100, 100, 100));
|
||||||
setPalette(palette);
|
setPalette(palette);
|
||||||
setAutoFillBackground(true);
|
setAutoFillBackground(true);
|
||||||
|
CursorAPos = 0;
|
||||||
|
CursorBPos = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ProxWidget::closeEvent(QCloseEvent *event)
|
void ProxWidget::closeEvent(QCloseEvent *event)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue