incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1359210 - /incubator/ooo/trunk/main/sfx2/source/doc/new.cxx
Date Mon, 09 Jul 2012 15:10:10 GMT
Author: af
Date: Mon Jul  9 15:10:10 2012
New Revision: 1359210

URL: http://svn.apache.org/viewvc?rev=1359210&view=rev
Log:
#i94898# Fixed update of previews in slide layout load dialog.

         Reported by: gibi
         Patch by: hanya
         Review by: Andre Fischer

Modified:
    incubator/ooo/trunk/main/sfx2/source/doc/new.cxx

Modified: incubator/ooo/trunk/main/sfx2/source/doc/new.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sfx2/source/doc/new.cxx?rev=1359210&r1=1359209&r2=1359210&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sfx2/source/doc/new.cxx (original)
+++ incubator/ooo/trunk/main/sfx2/source/doc/new.cxx Mon Jul  9 15:10:10 2012
@@ -450,8 +450,8 @@ IMPL_LINK( SfxNewFileDialog_Impl, Templa
 	if ( !MORE_BTN(GetState()) )
 		// Dialog nicht aufgeklappt
 		return 0;
-
-	aPrevTimer.Start();
+    if ( aPreviewBtn.IsChecked() )
+        aPrevTimer.Start();
 	return 0;
 }
 
@@ -628,6 +628,7 @@ SfxNewFileDialog_Impl::SfxNewFileDialog_
 			MORE_BTN(AddWindow(&aPreviewBtn));
 			MORE_BTN(AddWindow(&aPreviewWin));
 			aPreviewBtn.SetClickHdl(LINK(this, SfxNewFileDialog_Impl, PreviewClick));
+            aTemplateLb.SetSelectHdl(LINK(this, SfxNewFileDialog_Impl, TemplateSelect));
 		}
 		else
 		{



Mime
View raw message