the client marked as first shouldn't be closeable.
REVIEW:104093
This commit is contained in:
parent
551ad4d4ff
commit
aeccc69103
1 changed files with 2 additions and 1 deletions
|
@ -82,7 +82,8 @@ QVariant ClientModel::data(const QModelIndex& index, int role) const
|
|||
case MinimizedRole:
|
||||
return m_clientList[ clientIndex ]->isMinimized();
|
||||
case CloseableRole:
|
||||
return m_clientList[ clientIndex ]->isCloseable();
|
||||
//clients that claim to be first are not closeable
|
||||
return m_clientList[ clientIndex ]->isCloseable() && !m_clientList[ clientIndex ]->isFirstInTabBox();
|
||||
default:
|
||||
return QVariant();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue