Avoid NPE in EntryPointTab
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / wizards / BookmarkWizard.java
index 5ba3d54..a2e4f13 100644 (file)
@@ -5,6 +5,7 @@ import java.beans.PropertyChangeListener;
 
 import org.eclipse.jface.wizard.Wizard;
 
+import com.quantum.ImageStore;
 import com.quantum.Messages;
 import com.quantum.model.Bookmark;
 import com.quantum.model.BookmarkCollection;
@@ -21,6 +22,7 @@ public class BookmarkWizard extends Wizard implements PropertyChangeListener {
        
        public void init() {
                setWindowTitle(Messages.getString("BookmarkWizard.NewBookmark")); //$NON-NLS-1$
+               setDefaultPageImageDescriptor(ImageStore.getImageDescriptor(ImageStore.NEW_BOOKMARK_WIZARD));
                this.bookmark = new Bookmark();
        }
        public boolean performFinish() {