This commit is contained in:
parent
5aa0a8913b
commit
80bcc8b1a6
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue