ui: removed compilation database option as project type
This commit is contained in:
@@ -262,10 +262,15 @@ void QtDirectoryListBox::removeListBoxItem()
|
||||
return;
|
||||
}
|
||||
|
||||
int rowIndex = m_list->row(m_list->selectedItems().first()) - 1;
|
||||
int rowIndex = m_list->row(m_list->selectedItems().first());
|
||||
|
||||
qDeleteAll(m_list->selectedItems());
|
||||
|
||||
if (rowIndex == m_list->count())
|
||||
{
|
||||
rowIndex -= 1;
|
||||
}
|
||||
|
||||
resize();
|
||||
|
||||
if (rowIndex >= 0)
|
||||
|
||||
Reference in New Issue
Block a user