diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-07-23 17:10:06 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-07-23 17:10:06 +0200 |
commit | 7fd45c0cdf4243993f070009fbfabda8119c5587 (patch) | |
tree | b04845f667045a1b7b64abec8ce3321b55098923 /gui/designwidget.cc | |
parent | eeb6203c9d04b63426d9e586c1e5d22b93905c53 (diff) | |
download | nextpnr-7fd45c0cdf4243993f070009fbfabda8119c5587.tar.gz nextpnr-7fd45c0cdf4243993f070009fbfabda8119c5587.tar.bz2 nextpnr-7fd45c0cdf4243993f070009fbfabda8119c5587.zip |
Proper highlight/selected cleanup on context re-init
Diffstat (limited to 'gui/designwidget.cc')
-rw-r--r-- | gui/designwidget.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/designwidget.cc b/gui/designwidget.cc index 91ec5163..7c40f16a 100644 --- a/gui/designwidget.cc +++ b/gui/designwidget.cc @@ -229,6 +229,7 @@ void DesignWidget::addToHistory(QTreeWidgetItem *item) void DesignWidget::newContext(Context *ctx)
{
+ highlightSelected.clear();
treeWidget->clear();
// reset pointers since they are not valid after clear
nets_root = nullptr;
|