Set the default submode to the empty string when the default mode is changed.

pull/61/head
Christian T. Jacobs 2017-07-26 00:20:56 +01:00
rodzic 4e044e72f7
commit b98421dd6d
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -456,6 +456,7 @@ class RecordsPage:
mode = combo.get_active_text()
for submode in MODES[mode]:
self.sources["DEFAULT_SUBMODE"].append_text(submode)
self.sources["DEFAULT_SUBMODE"].set_active(MODES[mode].index(""))
return