ui: project settings fix

* fixed open folder dialog in project settings.
* changed foreign key relation of component_access from the element to the edge table.
This commit is contained in:
malte_langkabel
2015-09-17 16:48:05 +02:00
parent 0c7624a5ef
commit e9d45a507a
3 changed files with 4 additions and 3 deletions
@@ -52,6 +52,9 @@ void QtListItemWidget::handleButtonPress()
{
QFileDialog dialog(this);
QListView *l = dialog.findChild<QListView*>("listView");
dialog.setFileMode(QFileDialog::Directory);
if (l)
{
l->setSelectionMode(QAbstractItemView::SingleSelection);