summaryrefslogtreecommitdiffstats
path: root/ds9/library/util.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'ds9/library/util.tcl')
-rw-r--r--ds9/library/util.tcl4
1 files changed, 3 insertions, 1 deletions
diff --git a/ds9/library/util.tcl b/ds9/library/util.tcl
index f57c0c4..7732321 100644
--- a/ds9/library/util.tcl
+++ b/ds9/library/util.tcl
@@ -1741,7 +1741,9 @@ proc ProcessThemeCmd {varname iname} {
upvar $varname var
upvar $iname i
- ttk::style theme use [lindex $var $i]
+ global pds9
+ set pds9(theme) [lindex $var $i]
+ PrefsTheme
}
# backward compatibility