diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-07-14 20:19:39 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-07-14 20:19:39 +0200 |
commit | fcba866b632bff903cc2d8797047075eab623693 (patch) | |
tree | 6f821491ce0cf007b3c089c3007a43323c1dc116 /gui | |
parent | 1b5c1b028e0a44c6171aa2b95809e2b6edb9c13c (diff) | |
download | nextpnr-fcba866b632bff903cc2d8797047075eab623693.tar.gz nextpnr-fcba866b632bff903cc2d8797047075eab623693.tar.bz2 nextpnr-fcba866b632bff903cc2d8797047075eab623693.zip |
remove selected on context change
Diffstat (limited to 'gui')
-rw-r--r-- | gui/fpgaviewwidget.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/fpgaviewwidget.cc b/gui/fpgaviewwidget.cc index 1d0e8b57..ad62d38f 100644 --- a/gui/fpgaviewwidget.cc +++ b/gui/fpgaviewwidget.cc @@ -272,6 +272,7 @@ FPGAViewWidget::~FPGAViewWidget() {} void FPGAViewWidget::newContext(Context *ctx) { ctx_ = ctx; + selectedItems_.clear(); update(); } |