Skip to content

Commit bbc2214

Browse files
committed
halshow: fix "didn't use watchfile from commandline"
1 parent c7d26ff commit bbc2214

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

tcl/bin/halshow.tcl

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,6 +1246,16 @@ proc usage {} {
12461246
exit 0
12471247
}
12481248

1249+
# Loading the settings from the file.
1250+
# This overrides the default settings above.
1251+
readIni
1252+
if {$::ratio == 0} {
1253+
hideListview false
1254+
}
1255+
if {$::workmode == "watchhal"} {
1256+
$::nb raise pw
1257+
}
1258+
12491259
if {[llength $::argv] > 0} {
12501260
set idx 0
12511261
while {$idx < [llength $::argv]} {
@@ -1278,15 +1288,6 @@ if {[llength $::argv] > 0} {
12781288
}
12791289
}
12801290

1281-
# Loading the settings from the file.
1282-
# This overrides the default settings above.
1283-
readIni
1284-
if {$::ratio == 0} {
1285-
hideListview false
1286-
}
1287-
if {$::workmode == "watchhal"} {
1288-
$::nb raise pw
1289-
}
12901291
wm attributes . -topmost $::alwaysOnTop
12911292
tkwait visibility .
12921293
set ::initPhase false

0 commit comments

Comments
 (0)