Changeset - r19854:d39ea9da77bb
[Not reviewed]
master
0 1 0
frosch - 12 years ago 2012-12-09 16:54:23
frosch@openttd.org
(svn r24809) -Feature(ette) [FS#2632]: Consider engine preview windows always sticky, so non-shift mass-closure does not affect them.
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/engine_gui.cpp
Show inline comments
 
@@ -64,6 +64,9 @@ struct EnginePreviewWindow : Window {
 
	EnginePreviewWindow(const WindowDesc *desc, WindowNumber window_number) : Window()
 
	{
 
		this->InitNested(desc, window_number);
 

	
 
		/* There is no way to recover the window; so disallow closure via DEL; unless SHIFT+DEL */
 
		this->flags |= WF_STICKY;
 
	}
 

	
 
	virtual void UpdateWidgetSize(int widget, Dimension *size, const Dimension &padding, Dimension *fill, Dimension *resize)
0 comments (0 inline, 0 general)