code/01rwdcore/openhelpwindow.rb in rubyslippers-0.97 vs code/01rwdcore/openhelpwindow.rb in rubyslippers-0.98

- old
+ new

@@ -22,13 +22,18 @@ end if @rwd_tab == "editconfigurationfile" $help_topic = "applet_tinkerbackeditconfiguration" $helptopicsarray = $helptopicsarray | ["applet_installation","applet_viewing"] end - + if @rwd_tab == "rwdremotecontrol" + $help_topic = "remote_control" + $helptopicsarray = $helptopicsarray | ["applet_installation","applet_viewing", "remote_control"] + end + $previouswindow = @rwd_window $previoustab = @rwd_tab end + if @rwd_window == "rwdtinkerhelpwindow" $helptopicsarray = $helptopicsarray | ["applet_installation","applet_viewing"] end @rwdhelptopic = $help_topic @rwdhelpdataoutput = "#{Helptext[:"#{$help_topic}"]}"