fix regression in zoom full with hidden graphs, reset globfilter if user clicks a file, so next directory listing will list all
This commit is contained in:
parent
ecf07e6761
commit
51889e524a
|
|
@ -1347,7 +1347,7 @@ void calc_drawing_bbox(xRect *boundbox, int selected)
|
|||
{
|
||||
if(selected == 1 && !xctx->rect[c][i].sel) continue;
|
||||
/* skip graph objects if no datafile loaded */
|
||||
if(c == GRIDLAYER && xctx->rect[c][i].flags == 1) {
|
||||
if(c == GRIDLAYER && xctx->rect[c][i].flags) {
|
||||
if(hide_graphs && !waves) continue;
|
||||
}
|
||||
rect.x1=xctx->rect[c][i].x1;
|
||||
|
|
|
|||
|
|
@ -1722,6 +1722,7 @@ proc load_file_dialog {{msg {}} {ext {}} {global_initdir {INITIALINSTDIR}}
|
|||
set myload_dir1 $myload_d
|
||||
# .dialog.buttons_bot.entry delete 0 end
|
||||
} else {
|
||||
set globfilter *
|
||||
.dialog.buttons_bot.entry delete 0 end
|
||||
.dialog.buttons_bot.entry insert 0 $myload_dir2
|
||||
set myload_type [is_xschem_file $myload_dir1/$myload_dir2]
|
||||
|
|
|
|||
Loading…
Reference in New Issue