Changeset - r14107:f33f9f217afe
[Not reviewed]
master
0 1 0
alberth - 14 years ago 2009-12-30 08:40:05
alberth@openttd.org
(svn r18664) -Fix [FS#3449]: Unshade shaded finances window when toggling size.
1 file changed with 7 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/company_gui.cpp
Show inline comments
 
@@ -437,7 +437,13 @@ struct CompanyFinancesWindow : Window {
 
			case CFW_TOGGLE_SIZE: // toggle size
 
				this->small = !this->small;
 
				this->SetupWidgets();
 
				this->ReInit();
 
				if (this->IsShaded()) {
 
					/* Finances window is not resizable, so size hints given during unshading have no effect
 
					 * on the changed appearance of the window. */
 
					this->SetShaded(false);
 
				} else {
 
					this->ReInit();
 
				}
 
				break;
 

	
 
			case CFW_INCREASE_LOAN: // increase loan
0 comments (0 inline, 0 general)