From d8cd527867a78dcc95feb00404a2e4b497a1e2c4 Mon Sep 17 00:00:00 2001 From: Tomas Zigo Date: Sun, 15 Sep 2024 09:32:53 +0200 Subject: [PATCH] wxGUI/history: fix the run of a special cmds only once After left double mouse click on the wxGUI history tab tree cmd node. Special cmds are: ``` r"^d\..*|^r[3]?\.mapcalc$|^i.group$|^r.import$|^r.external$|^r.external.out$|" r"^v.import$|^v.external$|^v.external.out$" ``` --- gui/wxpython/history/tree.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/gui/wxpython/history/tree.py b/gui/wxpython/history/tree.py index 929f2d9f53b..74c321aeb67 100644 --- a/gui/wxpython/history/tree.py +++ b/gui/wxpython/history/tree.py @@ -557,14 +557,12 @@ def Run(self, node=None): selected_command = self.selected_command[0] command = selected_command.data["name"] - lst = re.split(r"\s+", command) if ( globalvar.ignoredCmdPattern and re.compile(globalvar.ignoredCmdPattern).search(command) and "--help" not in command and "--ui" not in command ): - self.runIgnoredCmdPattern.emit(cmd=lst) self.runIgnoredCmdPattern.emit(cmd=split(command)) return if re.compile(r"^r[3]?\.mapcalc").search(command):