diff --git a/src/kits/tracker/TrackerSettingsWindow.cpp b/src/kits/tracker/TrackerSettingsWindow.cpp
index 66267a6..b7744a4 100644
a
|
b
|
TrackerSettingsWindow::Show()
|
186 | 186 | |
187 | 187 | Unlock(); |
188 | 188 | } |
| 189 | // if the window is already showing, don't jerk the workspaces around, |
| 190 | // just pull it to us |
| 191 | uint32 workspace = 1UL << (uint32)current_workspace(); |
| 192 | uint32 windowWorkspaces = Workspaces(); |
| 193 | if (!(windowWorkspaces & workspace)) |
| 194 | // window in a different workspace, reopen in current |
| 195 | SetWorkspaces(workspace); |
| 196 | |
189 | 197 | _inherited::Show(); |
190 | 198 | } |
191 | 199 | |