diff --git a/src/preferences/screen/ScreenWindow.cpp b/src/preferences/screen/ScreenWindow.cpp
index be99486..0c4f543 100644
a
|
b
|
ScreenWindow::_BuildSupportedColorSpaces()
|
1152 | 1152 | |
1153 | 1153 | void |
1154 | 1154 | ScreenWindow::_CheckApplyEnabled() |
1155 | | { |
1156 | | fApplyButton->SetEnabled(fSelected != fActive |
1157 | | || fAllWorkspacesItem->IsMarked()); |
1158 | | |
| 1155 | { |
1159 | 1156 | uint32 columns; |
1160 | 1157 | uint32 rows; |
1161 | 1158 | BPrivate::get_workspaces_layout(&columns, &rows); |
1162 | 1159 | |
| 1160 | fApplyButton->SetEnabled(columns != fOriginalWorkspacesColumns |
| 1161 | || rows != fOriginalWorkspacesRows |
| 1162 | || fSelected != fOriginal); |
| 1163 | |
1163 | 1164 | fRevertButton->SetEnabled(columns != fOriginalWorkspacesColumns |
1164 | 1165 | || rows != fOriginalWorkspacesRows |
1165 | 1166 | || fSelected != fOriginal); |