Ignore:
Timestamp:
Dec 10, 2015, 12:53:36 PM (11 years ago)
Author:
Pedro Gea <pgea@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
e87e769
Parents:
00d6ed4
Message:

Se modifica el uso que se hace del paquete trycatch para evitar incompatibilidades con tcl8.6:

+ No se importan los métodos del paquete
+ Se llaman las llamadas a try haciendo uso del namespace: ::trycatach::try

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@7096 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tolbase/lib/renderpane/userprefs.tcl

    r00d6ed4 r3634546  
    139139
    140140        if {[file exists $fname]} {
    141             try {
     141            ::trycatch::try {
    142142                source [PrefFileName]
    143143                tk scaling $prefs(scaling)
    … …  
    150150    # Save the preferences and notify observers.
    151151    method save {} {
    152         try {
     152        ::trycatch::try {
    153153            set f [open [PrefFileName] w]
    154154
Note: See TracChangeset for help on using the changeset viewer.