Skip to content

Commit

Permalink
Update wizard pages
Browse files Browse the repository at this point in the history
  • Loading branch information
prasser committed Jan 7, 2021
1 parent e56cf99 commit bcd454b
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

package org.deidentifier.arx.gui.view.impl.wizard;

import org.deidentifier.arx.gui.view.SWTUtil;
import org.deidentifier.arx.gui.view.impl.wizard.HierarchyWizard.HierarchyWizardView;
import org.eclipse.jface.wizard.IWizardPage;
import org.eclipse.jface.wizard.WizardPage;
Expand Down Expand Up @@ -80,6 +81,15 @@ public void setVisible(boolean value){
}

@Override
protected boolean isCurrentPage() {
boolean current = super.isCurrentPage();
if (current) {
SWTUtil.redraw(this.getControl());
}
return current;
}

@Override
public void update() {
if (model.getError() != null) {
this.setErrorMessage(model.getError());
Expand Down

0 comments on commit bcd454b

Please sign in to comment.