summaryrefslogtreecommitdiff
path: root/src/transparency_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/transparency_gui.cpp')
-rw-r--r--src/transparency_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transparency_gui.cpp b/src/transparency_gui.cpp
index b0e9da16f..eee61bd16 100644
--- a/src/transparency_gui.cpp
+++ b/src/transparency_gui.cpp
@@ -66,7 +66,7 @@ static void TransparencyToolbWndProc(Window *w, WindowEvent *e)
if (_ctrl_pressed) {
/* toggle the bit of the transparencies lock variable */
ToggleTransparencyLock((TransparencyOption)(e->we.click.widget - TTW_WIDGET_SIGNS));
- SetWindowDirty(w);
+ w->SetDirty();
} else {
/* toggle the bit of the transparencies variable and play a sound */
ToggleTransparency((TransparencyOption)(e->we.click.widget - TTW_WIDGET_SIGNS));