From c847f5c04e15920d6f4d9a80e181ffc63e61264a Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 30 Sep 2009 21:07:54 +0000 Subject: (svn r17674) -Codechange: replace SetDirty + OnInvalidateData with InvalidateData (which does the same). Also call InvalidateData in a few cases where that was actually meant. --- src/rail_gui.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/rail_gui.cpp') diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index 3f42242f7..7c0641002 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -1632,8 +1632,7 @@ public: default: break; } - this->SetDirty(); - this->OnInvalidateData(); + this->InvalidateData(); } virtual void OnInvalidateData(int data = 0) -- cgit v1.2.3-54-g00ecf