project: auto-select imported files
This commit is contained in:
@@ -653,9 +653,11 @@ void ProjectExplorer::DeleteSelected()
|
||||
}
|
||||
}
|
||||
|
||||
bool ProjectExplorer::SelectItem(Node *n)
|
||||
bool ProjectExplorer::SelectItem(Node *n, bool deselect_all_first)
|
||||
{
|
||||
DeselectAll();
|
||||
if (deselect_all_first) {
|
||||
DeselectAll();
|
||||
}
|
||||
|
||||
QModelIndex index = model_.CreateIndexFromItem(n);
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ public:
|
||||
|
||||
void DeleteSelected();
|
||||
|
||||
bool SelectItem(Node *n);
|
||||
bool SelectItem(Node *n, bool deselect_all_first = true);
|
||||
|
||||
public slots:
|
||||
void set_view_type(ProjectToolbar::ViewType type);
|
||||
|
||||
Reference in New Issue
Block a user