sat position for picons dialog

This commit is contained in:
DYefremov
2018-02-03 23:25:15 +03:00
parent d716bd6a86
commit f19ab37bc8
3 changed files with 73 additions and 9 deletions

View File

@@ -837,7 +837,8 @@ class MainAppWindow:
locate_in_services(view, self.__services_view, self.__main_window)
def on_picons_loader_show(self, item):
dialog = PiconsDialog(self.__main_window, self.__options.get(self.__profile), Profile(self.__profile))
pos = {r[16] for r in self.__services_model}
dialog = PiconsDialog(self.__main_window, self.__options.get(self.__profile), pos, Profile(self.__profile))
dialog.show()
self.update_picons()