tycho: make map selection update the view

master
an 2019-07-26 00:17:09 -04:00
parent d089b35278
commit 32fd50690a
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@ IProjectView::IProjectView(Project *parent) :
m_model(parent->model()) m_model(parent->model())
{ {
setMinimumSize(320, 240); setMinimumSize(320, 240);
connect(m_model, SIGNAL(selected(quint16)), this, SLOT(update()));
} }
void IProjectView::paintEvent(QPaintEvent *event) void IProjectView::paintEvent(QPaintEvent *event)