This commit is contained in:
DavidXanatos 2021-07-30 17:37:17 +02:00
parent 5aa0a8913b
commit 80bcc8b1a6
3 changed files with 5 additions and 0 deletions

View File

@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- fixed more issued with FileDispositionInformation behavioure, which resulted in bogus file deletion handling
- fixed issue with checking WFP status
- fixed issue WFP failing to initialize at boot
- fixed issue with sys tray box options not being available just after boot

View File

@ -19,6 +19,7 @@ public:
//void CountItems();
QModelIndex FindIndex(const QVariant& ID);
void RemoveIndex(const QModelIndex &index);
int Count() const { return m_Map.count(); }
QVariant GetItemID(const QModelIndex& index) const;

View File

@ -967,6 +967,9 @@ void CSbieView::UpdateRunMenu(const CSandBoxPtr& pBox)
void CSbieView::SelectBox(const QString& Name)
{
if(m_pSbieModel->Count() == 0)
Refresh();
QModelIndex Index = m_pSbieModel->FindIndex(Name);
QModelIndex ModelIndex = m_pSortProxy->mapFromSource(Index);