diff options
author | rubidium <rubidium@openttd.org> | 2009-11-16 16:42:04 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-16 16:42:04 +0000 |
commit | e7dd53dffcde2d42e99036b7ec4bba3d01e018f9 (patch) | |
tree | 23a2482137d651212ff2bb6e25c060fea10c78d9 /src/autoreplace_gui.cpp | |
parent | 5589792d0c33bf99060947a58ebe65fe5dc4d311 (diff) | |
download | openttd-e7dd53dffcde2d42e99036b7ec4bba3d01e018f9.tar.xz |
(svn r18119) -Codechange/Fix: always call OnResize so the matrices/scrollbars are initialised without the need for duplicating the OnResize code
Diffstat (limited to 'src/autoreplace_gui.cpp')
-rw-r--r-- | src/autoreplace_gui.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/autoreplace_gui.cpp b/src/autoreplace_gui.cpp index 9b5adbfd6..7e1d78cb2 100644 --- a/src/autoreplace_gui.cpp +++ b/src/autoreplace_gui.cpp @@ -227,9 +227,6 @@ public: this->InitNested(desc, vehicletype); - /* Update the scrollbars/matrix 'definitions' */ - this->OnResize(); - this->owner = _local_company; this->sel_group = id_g; } |