bugfix
This commit is contained in:
parent
01e0c60284
commit
7bb133a027
@ -20,7 +20,7 @@ bricks.IconbarPage = class extends bricks.VBox {
|
|||||||
tip,
|
tip,
|
||||||
dynsize
|
dynsize
|
||||||
rate:
|
rate:
|
||||||
context:
|
content:
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -47,6 +47,7 @@ bricks.IconbarPage = class extends bricks.VBox {
|
|||||||
async show_content(tool){
|
async show_content(tool){
|
||||||
var w = await bricks.widgetBuild(tool.content, this);
|
var w = await bricks.widgetBuild(tool.content, this);
|
||||||
if (w && ! w.parent) {
|
if (w && ! w.parent) {
|
||||||
|
this.content.clear_widgets();
|
||||||
this.content.add_widget(w);
|
this.content.add_widget(w);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user