The toolbar of query editor is incomplete when restore the query editor.