@implementation ScenarioList
-(IBAction)startButton:(id)sender{
+ if([scenarioListTV selectedRow] < 0) return;
+
+ scenarioNumb = (int)[scenarioListTV selectedRow];
+ storyNumb = (int)[PUBscenario indexOfSelectedItem] + 1;
+
+ startES = true;
+ StringText *stringText = [[StringText alloc] init];
+ [stringText InitStringList];
+ MFselectedRow = scenarioNumb + 1;
+ [SLPanel close];
+ [NSApp stopModal];
+ NSPoint windowPoint;
+ windowPoint.x = [titleWindow frame].origin.x;
+ windowPoint.y = [titleWindow frame].origin.y;
+ [eventSceneWindow setFrameOrigin:windowPoint];
+ [eventSceneWindow makeKeyAndOrderFront:nil];
+ [titleWindow close];
+ evActive = true;
+
[SLPanel close];
}
-(IBAction)backButton:(id)sender{