make-selection 1.0.3__tar.gz → 1.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {make_selection-1.0.3 → make_selection-1.0.4}/PKG-INFO +1 -1
- {make_selection-1.0.3 → make_selection-1.0.4}/pyproject.toml +1 -1
- {make_selection-1.0.3 → make_selection-1.0.4}/src/make_selection/make_selection.py +4 -2
- {make_selection-1.0.3 → make_selection-1.0.4}/src/make_selection.egg-info/PKG-INFO +1 -1
- {make_selection-1.0.3 → make_selection-1.0.4}/LICENSE +0 -0
- {make_selection-1.0.3 → make_selection-1.0.4}/README.md +0 -0
- {make_selection-1.0.3 → make_selection-1.0.4}/setup.cfg +0 -0
- {make_selection-1.0.3 → make_selection-1.0.4}/src/make_selection/__init__.py +0 -0
- {make_selection-1.0.3 → make_selection-1.0.4}/src/make_selection.egg-info/SOURCES.txt +0 -0
- {make_selection-1.0.3 → make_selection-1.0.4}/src/make_selection.egg-info/dependency_links.txt +0 -0
- {make_selection-1.0.3 → make_selection-1.0.4}/src/make_selection.egg-info/top_level.txt +0 -0
|
@@ -206,8 +206,10 @@ class Menu:
|
|
|
206
206
|
def printSelected(self):
|
|
207
207
|
self.clearMenu()
|
|
208
208
|
if self.mode == Mode.MULTI_SELECT:
|
|
209
|
-
if len(self.options_selected) ==
|
|
210
|
-
print(f"{self.label}> (
|
|
209
|
+
if len(self.options_selected) == 0:
|
|
210
|
+
print(f"{self.label}> (0 items) []")
|
|
211
|
+
elif len(self.options_selected) == 1:
|
|
212
|
+
print(f"{self.label}> (1 item) {self.multiSelectGetValues(self.options_selected)}")
|
|
211
213
|
else:
|
|
212
214
|
print(f"{self.label}> ({len(self.options_selected)} items) [{self.options_selected[0].value}, ...]")
|
|
213
215
|
else:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{make_selection-1.0.3 → make_selection-1.0.4}/src/make_selection.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|