mirror of
https://github.com/aclist/dztui.git
synced 2024-12-29 13:52:03 +01:00
fix: set window context earlier
This commit is contained in:
parent
fbb133eeb2
commit
e9cd457233
2 changed files with 3 additions and 3 deletions
2
dzgui.sh
2
dzgui.sh
|
@ -569,7 +569,7 @@ fetch_helpers_by_sum(){
|
||||||
[[ -f "$config_file" ]] && source "$config_file"
|
[[ -f "$config_file" ]] && source "$config_file"
|
||||||
declare -A sums
|
declare -A sums
|
||||||
sums=(
|
sums=(
|
||||||
["ui.py"]="b58e0d80cb3e1b927e66866a3911a860"
|
["ui.py"]="549b0415af9ccad6a882b640615b9a22"
|
||||||
["query_v2.py"]="55d339ba02512ac69de288eb3be41067"
|
["query_v2.py"]="55d339ba02512ac69de288eb3be41067"
|
||||||
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
|
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
|
||||||
["funcs"]="75afe0be7e73af2fb6a7e423b5ac9159"
|
["funcs"]="75afe0be7e73af2fb6a7e423b5ac9159"
|
||||||
|
|
|
@ -1229,13 +1229,13 @@ class TreeView(Gtk.TreeView):
|
||||||
|
|
||||||
def _on_tree_selection_changed(self, selection):
|
def _on_tree_selection_changed(self, selection):
|
||||||
# no statusbar queue on quad tables
|
# no statusbar queue on quad tables
|
||||||
if self.view == WindowContext.TABLE_MODS or context == "Timestamp":
|
|
||||||
return
|
|
||||||
|
|
||||||
grid = self.get_outer_grid()
|
grid = self.get_outer_grid()
|
||||||
context = self.get_first_col()
|
context = self.get_first_col()
|
||||||
row_sel = self.get_column_at_index(0)
|
row_sel = self.get_column_at_index(0)
|
||||||
logger.info("Tree selection for context '%s' changed to '%s'" %(context, row_sel))
|
logger.info("Tree selection for context '%s' changed to '%s'" %(context, row_sel))
|
||||||
|
if self.view == WindowContext.TABLE_MODS or context == "Timestamp":
|
||||||
|
return
|
||||||
|
|
||||||
if self.current_proc and self.current_proc.is_alive():
|
if self.current_proc and self.current_proc.is_alive():
|
||||||
self.current_proc.terminate()
|
self.current_proc.terminate()
|
||||||
|
|
Loading…
Reference in a new issue