Form2 call fix

Corrected the  'ShowTabbedForm() argument which was referencing a 'form' variable which should be 'form2' as it's the declared Window variable for this script.
This commit is contained in:
eagleEggs 2018-09-24 21:37:54 -04:00 committed by GitHub
parent 5197d89e47
commit bd97141255
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -76,8 +76,8 @@ layout_tab_2.append([sg.InputText(size=(100,1), default_text='gruen -sara -quarz
layout_tab_2.append([sg.Text('_' * 100, size=(75, 1))])
layout_tab_2.append([sg.ReadButton('Submit', button_color=('red', 'yellow')), sg.Cancel(button_color=('white', 'blue'))])
results = sg.ShowTabbedForm('eBay Super Searcher', (form,layout_tab_1,'Where To Save'), (form2, layout_tab_2, 'Categories & Search String'))
results = sg.ShowTabbedForm('eBay Super Searcher', (form2, layout_tab_1,'Where To Save'), (form2, layout_tab_2, 'Categories & Search String'))
sg.Popup('Results', results)
sg.Popup('Results', results)