@@ -34,6 +34,7 @@ def change_setting(self, command_line, widget_proxy, live):
3434
3535 pref_form .load_pref ()
3636 pref_form .wMain .display ()
37+ self .parent .display ()
3738
3839
3940 def search_for_files (self , command_line , widget_proxy , live ):
@@ -116,7 +117,6 @@ def h_cursor_page_down(self, char):
116117 self .set_status (self .get_selected ())
117118 self .parent .display ()
118119
119-
120120 def h_cursor_page_up (self , char ):
121121 super ().h_cursor_page_up (char )
122122 if self .cursor_line - 1 > 0 :
@@ -177,15 +177,13 @@ class ClidApp(npy.NPSAppManaged):
177177 settings(configobj.ConfigObj):
178178 object used to read and write preferences
179179 """
180-
181180 def __init__ (self , * args , ** kwargs ):
182181 super ().__init__ (* args , ** kwargs )
183- npy .setTheme (npy .Themes .ElegantTheme )
184-
185182 self .current_file = None # changed when a file is selected in main screen
186183 self .settings = configobj .ConfigObj (os .path .expanduser ('~/.clid.ini' ))
187184
188185 def onStart (self ):
186+ npy .setTheme (npy .Themes .ElegantTheme )
189187 self .addForm ("MAIN" , ClidInterface )
190188 self .addForm ("SETTINGS" , pref .PreferencesView )
191189 self .addFormClass ("EDIT" , editmeta .EditMeta ) # addFormClass to create a new instance every time
0 commit comments