Changeset - r17520:598039a5604b
[Not reviewed]
master
0 1 0
frosch - 13 years ago 2011-04-03 17:00:57
frosch@openttd.org
(svn r22294) -Fix (r20922)[FS#4571]: Reset Window::scrolling_scrollbar when raising scrollbar buttons.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/window.cpp
Show inline comments
 
@@ -1392,6 +1392,7 @@ static void DecreaseWindowCounters()
 
					NWidgetScrollbar *sb = static_cast<NWidgetScrollbar*>(nwid);
 
					if (sb->disp_flags & (ND_SCROLLBAR_UP | ND_SCROLLBAR_DOWN)) {
 
						sb->disp_flags &= ~(ND_SCROLLBAR_UP | ND_SCROLLBAR_DOWN);
 
						w->scrolling_scrollbar = -1;
 
						sb->SetDirty(w);
 
					}
 
				}
0 comments (0 inline, 0 general)