Commit ab2bb34f authored by Riegel's avatar Riegel
Browse files

Add resetting of search on clicking showWorldBtn

parent 596ded22
......@@ -906,6 +906,7 @@ public class CityDoctorController {
public void showWorld() {
if (model != null) {
renderer.render(model);
resetSearch(mainWindow.getSelectedTab());
}
}
......
......@@ -162,6 +162,7 @@ public class MainToolBar {
content.getSelectionModel().clearSelection();
}
controller.showWorld();
mainWindow.resetSearchBar();
});
showWorldBtn.setTooltip(new Tooltip(Localization.getText("MainToolBar.showWorld")));
}
......
......@@ -1206,5 +1206,4 @@ public class Renderer {
errorUpdater = null;
refresher = null;
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment