mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-22 11:17:31 +01:00
Fixed #951
This commit is contained in:
parent
164485e1f9
commit
39f9c1bf40
@ -145,6 +145,9 @@ GroupObjectDialog::GroupObjectDialog(QWidget *parent) :
|
||||
connect( iconView, SIGNAL( delObject_sign() ),
|
||||
this, SLOT( deleteObj() ) );
|
||||
|
||||
connect( iconView, SIGNAL(itemDoubleClicked(QListWidgetItem*)),
|
||||
this, SLOT(itemDoubleClicked(QListWidgetItem*)));
|
||||
|
||||
|
||||
connect( listView, SIGNAL( currentItemChanged(QTreeWidgetItem*,QTreeWidgetItem*) ),
|
||||
this, SLOT( listViewCurrentChanged(QTreeWidgetItem*) ) );
|
||||
@ -158,6 +161,9 @@ GroupObjectDialog::GroupObjectDialog(QWidget *parent) :
|
||||
connect( listView, SIGNAL( delObject_sign() ),
|
||||
this, SLOT( deleteObj() ) );
|
||||
|
||||
connect( listView, SIGNAL(itemDoubleClicked(QTreeWidgetItem*,int)),
|
||||
this, SLOT(itemDoubleClicked(QTreeWidgetItem*, int)));
|
||||
|
||||
QString s = st->getGroupViewColumns();
|
||||
int col0 = s.section(',',0,0).toInt();
|
||||
int col1 = s.section(',',1,1).toInt();
|
||||
@ -727,3 +733,12 @@ void GroupObjectDialog::newObject()
|
||||
m_dialog->newButton->showMenu();
|
||||
}
|
||||
|
||||
void GroupObjectDialog::itemDoubleClicked(QListWidgetItem*)
|
||||
{
|
||||
openObject();
|
||||
}
|
||||
|
||||
void GroupObjectDialog::itemDoubleClicked(QTreeWidgetItem*, int)
|
||||
{
|
||||
openObject();
|
||||
}
|
||||
|
||||
@ -99,6 +99,9 @@ class GroupObjectDialog : public BaseObjectDialog
|
||||
void selectObject(libfwbuilder::FWObject *o);
|
||||
|
||||
void newObject();
|
||||
|
||||
void itemDoubleClicked(QListWidgetItem*);
|
||||
void itemDoubleClicked(QTreeWidgetItem*, int);
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user