Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit fa2e286

Browse files
close after hitting done button in param window
1 parent 506b18f commit fa2e286

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

PythonGUI_apps/Spectrum_analysis/Spectra_plot_fit.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ def current_peak_range(self):
272272
def done(self):
273273
center_min, center_max = self.current_peak_range()
274274
self.peak_range.emit([center_min, center_max])
275+
self.close()
275276

276277
"""Run the Main Window"""
277278
def run():
@@ -280,4 +281,4 @@ def run():
280281
return win
281282

282283
#Uncomment below if you want to run this as standalone
283-
run()
284+
#run()

0 commit comments

Comments
 (0)