diff options
Diffstat (limited to 'ui/qt/models/profile_model.cpp')
-rw-r--r-- | ui/qt/models/profile_model.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/models/profile_model.cpp b/ui/qt/models/profile_model.cpp index 979f0ae38b..faac93866a 100644 --- a/ui/qt/models/profile_model.cpp +++ b/ui/qt/models/profile_model.cpp @@ -887,7 +887,7 @@ QModelIndex ProfileModel::activeProfile() const if ( prof->is_global || checkDuplicate(index(row, ProfileModel::COL_NAME) ) ) return QModelIndex(); - if ( ( set_profile_.compare(prof->name) == 0 && prof->status == PROF_STAT_EXISTS ) || + if ( ( set_profile_.compare(prof->name) == 0 && ( prof->status == PROF_STAT_EXISTS || prof->status == PROF_STAT_DEFAULT ) ) || ( set_profile_.compare(prof->reference) == 0 && prof->status == PROF_STAT_CHANGED ) ) return index(row, ProfileModel::COL_NAME); } |