File tree Expand file tree Collapse file tree
libs/pyTermTk/TermTk/TTkWidgets/TTkModelView Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -420,6 +420,7 @@ def expandAll(self) -> None:
420420 self ._rootItem .dataChanged .disconnect (self ._refreshCache )
421421 self ._rootItem .expandAll ()
422422 self ._rootItem .dataChanged .connect (self ._refreshCache )
423+ self ._refreshCache ()
423424
424425 @pyTTkSlot ()
425426 def collapseAll (self ) -> None :
@@ -429,6 +430,7 @@ def collapseAll(self) -> None:
429430 self ._rootItem .dataChanged .disconnect (self ._refreshCache )
430431 self ._rootItem .collapseAll ()
431432 self ._rootItem .dataChanged .connect (self ._refreshCache )
433+ self ._refreshCache ()
432434
433435 def mouseDoubleClickEvent (self , evt :TTkMouseEvent ) -> bool :
434436 x ,y = evt .x , evt .y
Original file line number Diff line number Diff line change @@ -36,21 +36,25 @@ class SocialData():
3636 SocialData (
3737 name = 'pytermtk' ,
3838 link = 'https://github.com/ceccopierangiolieugenio/pyTermTk' ,
39+ image = '' ,
3940 discord_channel_id = 1379381341145268305 ,
4041 ),
4142 SocialData (
4243 name = 'ttkode' ,
4344 link = 'https://github.com/ceccopierangiolieugenio/pyTermTk/tree/main/apps/ttkode' ,
45+ image = '' ,
4446 discord_channel_id = 1379381474783924295 ,
4547 ),
4648 SocialData (
4749 name = 'dumbpainttool' ,
4850 link = 'https://github.com/ceccopierangiolieugenio/pyTermTk/tree/main/apps/dumbPaintTool' ,
51+ image = '' ,
4952 discord_channel_id = 1379381571412430931 ,
5053 ),
5154 SocialData (
5255 name = 'tlogg' ,
5356 link = 'https://github.com/ceccopierangiolieugenio/pyTermTk/tree/main/apps/tlogg' ,
57+ image = '' ,
5458 discord_channel_id = 1379381593378000916 ,
5559 ),
5660]
You can’t perform that action at this time.
0 commit comments