From dddf9edde7ad89ba358af482e7206749d9e16426 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 20 Oct 2026 11:41:11 +0200 Subject: Packages: Build/Update/Rebuild/Remove act on ticked packages only The highlighted row used to stand in when nothing was ticked; with row clicks toggling the tick, that ran an action on a row just unticked. Co-Authored-By: Claude Opus 5.5 --- tests/test_gui.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/test_gui.py b/tests/test_gui.py index b326ee1..d45fffd 100644 --- a/tests/test_gui.py +++ b/tests/test_gui.py @@ -405,7 +405,11 @@ class SmokeTest(unittest.TestCase): self.assertEqual(tab.model.checked, set()) tab.table.setCurrentIndex(tab.proxy.index(1, 1)) self.assertIn("x", tab.detail.text()) + tab.act("update") # highlighted but not ticked: nothing + self.assertEqual(started, []) + tab.model.checked.add("foo") tab.act("update") + tab.model.checked.clear() select, clear = tab.keys select.activated.emit() self.assertEqual(len(tab.model.checked), 4) -- cgit v1.2.3