do not crash on malformed recent_files

This commit is contained in:
Stefan Frederik 2022-03-07 11:05:20 +01:00
parent 069017e07c
commit a3b7ec1810
1 changed files with 1 additions and 1 deletions

View File

@ -586,7 +586,7 @@ proc load_recent_file {} {
puts "Problems opening recent_files: $err"
if {[info exists has_x]} {
tk_messageBox -message "Problems opening recent_files: $err" \
-icon warning -parent [xschem get topwindow] -type ok
-icon warning -parent . -type ok
}
}
}