File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 20
20
from gui .uis .windows .main_window .functions_main_window import *
21
21
import sys
22
22
import os
23
+ import time
23
24
24
25
# IMPORT QT CORE
25
26
# ///////////////////////////////////////////////////////////////
@@ -92,6 +93,11 @@ def btn_clicked(self):
92
93
# OPEN PAGE pics
93
94
if btn .objectName () == 'btn_page_pics' :
94
95
self .ui .left_menu .select_only_one (btn .objectName ())
96
+ try :
97
+ self .ui .load_pages .gridLayout_2 .itemAt (0 ).widget ().setParent (None )
98
+ self .ui .load_pages .gridLayout_2 .removeWidget (self .ui .load_pages .gridLayout_2 .itemAt (0 ).widget ())
99
+ except AttributeError :
100
+ pass
95
101
if not MainFunctions .left_column_is_visible (self ):
96
102
MainFunctions .toggle_left_column (self )
97
103
MainFunctions .set_page (self , self .ui .load_pages .page_3 )
Original file line number Diff line number Diff line change 1
1
{
2
2
"app_name" : " Picf" ,
3
- "version" : " v1.4 " ,
3
+ "version" : " v1.5 " ,
4
4
"copyright" : " " ,
5
5
"year" : 2021 ,
6
6
"theme_name" : " default" ,
26
26
"minimum" : 0 ,
27
27
"maximum" : 240
28
28
},
29
- "time_animation" : 200 ,
29
+ "time_animation" : 0 ,
30
30
"font" : {
31
31
"family" : " Microsoft YaHei" ,
32
32
"title_size" : 11 ,
You can’t perform that action at this time.
0 commit comments