Skip to content

Commit

Permalink
less bugs,
Browse files Browse the repository at this point in the history
inpaint better
  • Loading branch information
Werner Oswald committed Feb 12, 2023
1 parent d386c07 commit 8c7c42a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions frontend/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,17 @@ def hide_default(self):

self.default_hidden = True

def set_all_unchecked(self):
self.widgets[self.current_widget].w.toggle_sampler.setChecked(False)
self.widgets[self.current_widget].w.toggle_plugins.setChecked(False)
self.widgets[self.current_widget].w.toggle_outpaint.setChecked(False)
self.widgets[self.current_widget].w.toggle_animations.setChecked(False)
self.widgets[self.current_widget].w.toggle_plotting.setChecked(False)
self.widgets[self.current_widget].w.toggle_aesthetics.setChecked(False)
self.widgets[self.current_widget].w.toggle_embeddings.setChecked(False)

def show_default(self):
self.set_all_unchecked()
if self.default_hidden == True:
if gs.system.show_settings != True:
gs.system.show_settings = True
Expand Down

0 comments on commit 8c7c42a

Please sign in to comment.